Posts

User story template

Things to keep in mind while writing a user story What is being performed – there should be single action in a story What is input to the action? What is output? What if the output is not as expected? – it should be error What do we do for error? – just log the error in system/display on screen/send communication (any combination of these) Are we connecting to any other system? If YES then what is protocol to connect. E.g. HTTP/HTTPS/SOAP/SQL query/STORED PROC What if we are not able to connect to system? – how to handle that error Error message to be displayed??? User Requirement ID User Story Name: User Story Number: Created By: Date Created: Actor(s): Description: Trigger: Pre-conditions: Post-conditions: Success Criteria Special Com...

Common Pega methods used

Please register yourself in pega developer network to get detailed answers. This is only to give a quick view to help analysts know what technical people are talking about. Obj-Open method Used to open an instance stored in the PegaRULES DB and save it as a clipboard page. Obj-Browse method Obj-Browse method is used to selects list of records based on some condition. In other words,it is used to  search instances of one class and copy the entire instances to the clipboard as an array of embedded pages. Only properties exposed as columns can be used as selection criteria. However, values of properties that are not exposed as columns, including embedded properties, can be returned. Obj-Open-By-Handle Method Use the Obj-Open-By-Handle method only if you can determine the unique handle that permanently identifies which instance to open. We have have to pass the pzInskey  as a instance handle, this method will  open only  one record at time. Ob...

Design Patterns commonly used in OOP

A design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is a framework based on which applications can be made. They are widely used in Object Oriented Programming/Design. The intent of this post is to give general awareness on the various design patterns that are commonly used.  Strategy Pattern According to the GoF book, Strategy design pattern should “Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.”  You encapsulate code in external algorithms for easy use rather than spreading it around inside your core code and modifying it throughout that code. Decorator Pattern According to the GoF book, Decorator Pattern should “Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.” Factory Pattern Ac...