Friday, March 24, 2017

Pega PRPC Interview Questions - Part 2

In this post we will see the questions can be asked for Pega Interview in Agents Topics:

1.What are the types of Agents?
2.What is meant by Advanced Agent and Standard Agent?
3.What r the methods used to queue the items for standard agent?
4.Some changes did in the rules are not affecting in standard agent, what could be the reason and how to rectify it?
5.some changes did in the advanced agent is not affecting, what could be the reason and how to rectify it?
6.if large amount of data is there that need to processed, then how u will do it in Standard Agent?
7.Some agents are processing, at that time it got error saying lack of required Access, so what can be the reason?
8.for agents execution, how the rule resolution will work?
9.How u will trace agents? ( Thru SMA, by clicking the query button and in Requestor Management, we will the corresponding agent requestor. Selecting it and Trace it?
10.what are agent schedules?
11.how u will reschedule timing for the agent?
12.if u want to disable whole agent rule what need to do? (below the agent rule enable check box will be there.
13.When executing the activity, agent got error saying "gor error while executing ActivityName because lack of authentication", how u will rectify it? ( bypass authentication Check it)
14.In an application deployed in multiple nodes(say 3 nodes) User is getting every mail 3times? what could be the reason? How will you rectify it? 
15.what is the shortest duration for the agent to execute? how to change that?
16.what are the new options available in latest PRPC version? (Pattern for executing, Advance mode like run in one node, Delay every run by particular run). 

17.In security of agent you can mention Access group for advanced agents, if its not mentioned, then how it will come to know which ruleset version to pick?

Note:if you have some other questions, which u think can be asked, comment below, we will add it up in the post, so it will be useful for others.

Pega PRPC Interview Questions - Part 1

In this post we will see, what are the questions can be asked for Pega PRPC Interview. 
We will see Some Pega topics such as Activity, Declarative Rules and Decision Rules.
Some possible questions are given below Topic wise:

Activity: - Basic level:
1. Name some Obj-Methods?
2. Difference between obj-Open and Obj-Open by handle
3. how u do do exception handling in activity?
4. Diff between Obj-Save and Obj-Save write now option?
5. How do u call Decision table and tree in activity?
6. In obj-browse u will mention class name, what it represents, what is the use of it?
7. What is lightweight results in obj- browse?
8. How u will get a value from page list? give the steps? or how u will identify it has duplicate values?
9. How u will validate the pages, what r the methods used for validating?
10.What is the use of parameters and local variable?
11.What are RDB Methods? When u will use it?
12.If i want a page list in an order, how will u do it? what method is used? (obj-Sort)
13.How u will lock the work object what method u will use it?

Intermediate level:
1.How u will load data page using activity?
2.what is method used to call the actiivty asynchornously, tell some scenario where u can use it?
3.What is the use of Goal Seek property?
3.While calling Desicion table, allow missing property check box is there, what is the use of it?
5.what is the use of May Start or "Allow direct invocation from the client or a service" check box and Require authentication check box?
6.if u want to restrict the user from running activity for particular class of particular use groups, what u should do?
7.how to pass the parameter page to another activity?
8.if u want to make one activity generalised, how u will do it?
10.in which class u will prefereed to write activities and why?
11.what are extension rules?
12.which one is preferred Obj or RDB?
13.when u will use RDB? why?
14.How u will clear the excetion in the activity?what method is used.?

========================================================
Declarative Rules: - Basic
1.what are declarative rules?
2.how to execute that rules? or how we can trigger this declarative rules
3.how to calculate the value of the shipping pricing area?
4.what is fwd chaining and backward chaining?

Intermediate Level:
1.What declare on change and Declare trigger will do?
2.When u will use those?
3.Any example for using declare trigger?
4.How will i capture or track the values of a property in a work object?(declare trigger - pyTrackSecurityChanges for adding history)
5.What will be usage type of activity for this?(Declare type of activity)

======================================================
Decision Rules:
Basic Level:
1.when u will use decision table or Decision Tree give some examples?
2.how u will return more than one value from Decision Table?

Intermediate:
1.How u will delegate Decision Rules or any other  rules to particular users?
2.how u can restrict the values in decision table which they can edit?

Note:if you have some other questions, which u think can be asked, comment below, we will add it up in the post, so it will be useful for others.

Wednesday, March 15, 2017

To Update Pulse Through Email

In the previous Post we saw how to send email when pulse is posted or user is mentioned in the pulse post.
In this post we will see if we reply to the email, then that content will get attached to the Pulse post and if any documents need to attach to the post that also will get attached.

So For this one Email Listener, Service Email are needed.
Email Listener: To Listen to the Email Inbox or particular folder in the Email. If Any mail comes, then it will triger the Service Email Mentioned in the Listener.

Service Email: To Read the Email and Parse the Email and get the From, To, Subject and the Email Conent. In Pega itself sample Service Email has been given, so no need to change anything directly we can save as to that.

So not only for pulse, for any other email listener approach we can refer this email activity. Example, When we raise Support request in pega PDN Support portal. It will read the Subject and parse the work object and attach the email to the Work Object.

Follow the steps in this url:
https://pdn.pega.com/tutorial-enabling-users-respond-pulse-email-notifications/tutorial-enabling-users-respond-pulse

Example after implementing this steps, we will see how it works.


Got mail from pulse once i had mentioned the user in the post, so user is replying to that post and attaching the document with that email. So that is getting attached to thru the Email listener which we configured earlier.


The received document will get attached to the work object attachemnts as shown below.










Along with that it will get attach to the post to which its replied.

Sunday, March 5, 2017

About Pulse Notifications

About Pulse Notifications:

To Get the Notifications when, Pulse messages of Work object are updated, We need to configure as below.

The Details can be get in the below mentioned PDN site:
https://pdn.pega.com/tutorial-configuring-pulse-email-notifications/tutorial-configuring-pulse-email-notifications

Create an email account from which to send notifications by completing the following steps.

1.Click +Create > Integration-Resources > Email Account.
2.In the Account Name field, enter PulseNotifications.

3.Click Create and open.
4.Configure the email account, as appropriate. 
email Config Screen shot.

Example:
In Our example, in the Case Manager Portal, we created a work Object and Opening the Pulse, and mentioned "@" and refer some name and then write some comment in it. So that user whom mentioned in the message will get email Notification.

Application screen shots:





Saturday, March 4, 2017

About Branch ruleset

Need of Banch Ruleset:

Typically, branches are used in development environments in which multiple teams contribute to a single application. You use branches to develop software in parallel in a version-controlled environment. For example, your teams can develop one feature in a branch while another team develops a feature in a different branch, even if they share the same base rulesets. After feature development completes, you can merge the changes you made for both features into the base ruleset. You can also use branches for providing bug fixes, because you can easily add them to applications.

How to create and use Branch ruleset:
Say below is the application u r going to branch














click Add a Branch Link and add Branch ID. This is required for creating branch ruleset.














After Adding the branch ID, we need to create branch ruleset as below.















Each branch can be used by separate teams, so their works can be separated while developing.














Merging the Branch 2 ruleset and checking.














While merging the Branch ruleset to the main ruleset, all will get added to the Main ruleset.
Note: Check the checkbox, if u want the rules and ruleset back. If its unchecked, then all the rules will get deleted along with the ruleset.
In Branch and main ruleset also having Same rule name, so while merging it will give conflict error.














On click of Conflict, u will get below details:


After resolving the issues, click submit button and merge.