0% found this document useful (0 votes)
23 views

Interview CHART

The document outlines various technical questions and answers related to Pega application development, including handling termination dates for products, UI button visibility based on user privileges, and case management techniques. It discusses methods for data manipulation, service integration, and case type management, as well as best practices for production support and reporting. Additionally, it touches on advanced features like SLA management and data pages, providing insights into their usage and advantages.

Uploaded by

Mahesh Wagh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Interview CHART

The document outlines various technical questions and answers related to Pega application development, including handling termination dates for products, UI button visibility based on user privileges, and case management techniques. It discusses methods for data manipulation, service integration, and case type management, as well as best practices for production support and reporting. Additionally, it touches on advanced features like SLA management and data pages, providing insights into their usage and advantages.

Uploaded by

Mahesh Wagh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

1.

There is a report in production and has 100 records with different products(Internet,
Phone, TV), it has one of the column called Termination Date and it's a string data
type. Now we have a requirement to increase the Termination Date based on the
product type like, for Internet (TD+3 days) and for Phone (TD+5) and for TV (TD+8).
How can we achieve this one and changes should impact on the old records as well ?
2.

1. If we want to hide some UI buttons like add, edit , delete for particular user how we can
do it?
Hi We can do it by using a visibility condition, but here the condition is based on operator
ID. If this is for set of operators then we can apply conditon by using "Privilege",

2. We are using rest service to bring the data from external source and I don't want to
save that data and want to remove?
A. The quesion is incompelte, because we usually dont save the data by default. We
need to write extra step if we want to save the data.

3. I want to create child case parallel to my parents case at same time


A. On child case we have an option like "Instantiaion" choose :Immediately when parent
case starts".

4. 4. How did you may data received from soap- I said after xml stream we can use data
transform to map those properties.
A. Yes we can have to use parse XML for data mapping. Later you use Data transform
for assigning parse data from service page to other page…

5. Hi Harsha , I faced one question in an interview Q) we need to join two tables which
don't have common column I answered : by using views . but not sure. can you please
tell me
Yes, we can do it, by using sub reports... There is no need common column for this…

6. Is it possible to call an activity inside the report definition rule?


Yes there is some option for smart infor... Other case, if we can access the epxression
builder fucntions then it must be posstible by using pxececuteactivity function

7. Hi sir, i have a question, How can we go to UI from R. D? Please explain?


Yes we can, this is OOTB feature in pega using worklist RD, work basket RD. This
feature is available.

8. Is it possible to stop edit validate? If yes , how?


no we can't stop edit validate.…

9. Using rd we can fetch maximum 500 recordings only?


By default 500, we can override it to max 10000

1. we have stage A and stage B. I want to make stage A as withdrawn and then proceed
to Stage B and also i need to skip Stage C and move on to Stage D?
Use skip stage on the stages which have to be skipped...

2. when do we prefer queue processor and when do we prefer job scheduler and what
scenario?
Queue processor is needed in case of processing the queue items one by one , with auto
exception handling...

Job scheduler is for one time bulk process..


3. If I have a condition that if state=NJ it should go to flow A and if state=NY it should go
to Flow B I said can be achieved by when, decision rules and also circumstance but he
said do we have any other option
Partial...need more inputs... What u said Is correct... May be he did not ask u full
question...

4. once we get response data via Rest Service , we have to insert that data one by
onewith inserting row by row into excel, how to achieve this?
the page list recieved from response we need to call ootb activity pxgenerateexcelfile and
pass page list…
We have to create a binary file…

1. How can we remove duplicates in a case types?


we can remove duplicate case type by identifying them at the time of case creation
itself... There is a rule available for this purpose called "case Match" Rule. We can make
use of this to identify the duplicate cases and remove them

question on moving back to previous stages or steps.


1. Case with 5 stages, will it possible to move the case from stage-4 to stage-2 ?
Yes possible use change stage

2. Stage-1 has 5 steps, will it possible to move back to step-2 from step-4 ?
yes, by using decision shape or ticket..

I have a case with two stages(Stage-1 & Stage-2), Stage-1 has 2 steps(A&B) and Stage-
2 has 3 steps(P, Q, R). Generally after 1st step completion 2nd step starts the execution
right, now the question is, in the 2nd stage once 1st step(P) execution completed, 2nd
and 3rd steps(Q&R) should start execution at same time. Means 3rd step(R) should start
the execution along with 2nd step, without any dependency with 2nd step(Q). Can we do
this one ?
yes we can do ut... 2 nd stage has to be designed like this. Step 1 P, Step 2 Call subflow
which is Q (with spin off), step 3 R. Now, Q and R steps will execute at the same time...

thanks Harsha, but in case type under when to start that step dropdown we have only
two options right, 1. Upon stage entry, 2. After previous step. Either of one we need to
select right, then how come 2nd step will start without complete(it can be skip step or
complete) 1st step and same with 3rd step with 2nd step ?

5. I want to update the work object status, Let's say after submitting an assignment I want
to update a case status. How do we do that?
Ans: Hi , we can set the property pystatuswork in post processing DT of flow action…

6. What is the exact use of create stage in case type from pega 8.5??
Any example for this? And the reasoning?
A) the create stage is introduce from 8.5 version onwards.. which will directly call the
activity add.. starting from 8.5 pega has provided a feature to create WO directly by
calling the case type without having a started flow. In case if we process the files, service
quests , we can created a case without passing the flow name to the activities new new
from flow.. Though there is no starter flow, still work objects gets created
7) If there are 5 stages in case type rule and can we go from 3rd stage to 1st stage
based on specific condition.
A) yes it is possible to go like that, we have to use a decision shape and Change Stage
step... then it will work.

8) Can you please explain what is the locking mechanism pega has and relation between
parent and child locking

9) After creating case using activity, how to run at the case at back end automatically to
complete total case
A) we can create a case buy calling ootb activity New, NewFromFlow etc... We can run it
automically by creating a straight through process... In future sessions i will make a video
about straight through process... Please subscribe to our channel for more videos.

10) in the case type i have four stages, this application already in live production now
suddenly the business told, they want to change the flow. like the flow change once
finish stage 1 after it will go stage 3 and come back to stage 2 finally it will go stage 4
how we do sir?
A) Specialise the case type with a condition based on production release date... And re
order the stages as u wish…

B) So inflight casees will go through old case type and new cases will go through
circumstanced flow…

11) Who we know how many work objects created by user in develop environment by
using Report defination?
A) Hi, this can be acheieved by creating a report deiniton rule and use the where
conditons property, pxcreateOperator. Pass the operator ID. This will bring the cases
created by the respective operator.

12) What are temp case and persist case?


A) Temp case gets created but not stores in db, to make it permanent we use persistent
case flow shape which stores into work table permanently.. this feature has been
deprecated in 8.5 or later release ..

13) Can we move from 1 alternate stage to another alternate stage?


A) We can move from one state to anothere state at alterrnate stage by using
pxchangestage…

14) What are different shapes in case management ?


A) we have regular flow shapes, advanced shape, automatical shapes availalbe…
------------------------------------------------------------------------------------------------------------------------

15) I have a question on Case Locking Mechanism: If a case is configured with Locking
option="Allow multiple Users". Now 2 users opened the same case at the same time
and trying to update.
Q1: How many entries will be present in the pr_sysLocks table ?
A)For Optimistic locking , the lock will be aquired when an action is been performed. At a
given point in time only one user can perform action and aquire lock... So there will be
only one entry in the lock table.
could you explain me this please :
 In book my show applcation, When we book the tickets, How the data will stored.
when we cancel it, how the plugin(seats) become active, so that other customer can
select it.
 Need to consider: Show time, Theater, city, movie name
 Customer can do multible ticket booking (means i can book multible tickets at same
time and also multible times)
 How will you handle the saving of data and canslation.
 When we cancel, need to retrive the ticket details and cancel the seats.
 Partial cancellation allowed. (In 10 tickets, I can cancel 7 seats, 3 I'll put)
-------------
hints: when we cancel, we'll give email or phone number, based on that it'll retrieve your
ticket details.
you create a list on the screen, you click on one of the ticket, it'll keep you the number of
seats. or
you can show a check box (I can select one or multible seats) and then I can submit or
delete.
I'll update the table either remove the record, rejected etc..
Similarly, while looking it. I can create a table.…

16) I recently attended an interview and I was given a requirement that, There is a
DateofBirth which is only Date field. And now we need to take the DateofBirth value
and convert it into number of years and display it on the UI as number of years. I have
tried few functions and not able to come to an answer. I will be thankful if you can
provide any solution for this.
A) You need to write the declare expression on setting the age property based on date of
birth property with the date function
(@DateTimeDifference(@dateValue(.DateOfBirth),@dateValue(@today()),"Y"))
------------------------------------------------------------------------------------------------------------

17) We can delete case type from App studio, there are two options delete work object
and delete case type and work object as I remember. And one question I have we are
using 8.5 version when we creating case type it's creating by default one stage, is
there anyway to control or remove that stage.?
A) There is a trick to remove the create Stage from the casetype. For every case type, the
pydefault casetype rule gets created.This is the rule version of the existing case type. You
can delete this casetype rule and create the casetype rule manually from the App explorer
in the same case related applies to class. Then you don't see the create stage. You can
add the existing stages on referring the deleted casetype rule.

18) Question on Production Support: How do you resolve an issue in production that user
is encountered while creating or working on a case? you are getting issue only in
production

19) How we can map our own table while creating a class ?
A) You can use database class mapping wizard. There you can select the database table
first and subsequently the class along with the properties gets created automatically.
20) I have a scenario like In application, I need to route the assignment to my
manager( for this we can create WB and route to it) but when one case is routing to
manager that case will be in manager worklist for 2 days and it should get notified to
manager that look into your worklist and close the case at the same time it should also
get to be notified to senior manager that case is still pending?How we can achieve it.
We can call SLA and give goal and deadline but at the same time it need to be notified
to both manager and senior manager in the period of 2 days
A) This can be done by usng SLA escalation acctivity. In the escalation actiivty we have
to write one activity to fetch report manager Operator Id and Email. In the next step we
have to write Obj open again to fetch reporting manager's reporting mangares operator Id
and email...Then we can call send email notification actiivty to notify them.. It takes two
minutes write this overall activity... Thank you Please odnt forget to subscribe the
channel... Post more queries if you have...Thank you
B) We can directly create a database table rule to do this...

21) The Response parameters of Service SOAP is now changed by vendor for new
requirements means earlier it was sending 3 responses now they modified to send 7
how to modify this behavior with respect to Connect SOAP?
A) for your query , below is the solution... You need to request for new WSDL URL , once
you get it you can run the wizard again with new WSDL URL... The other way around ,
you manually create the response properties and update the XML mapping rules like
Parse XML rule. Save. It will be done…

22) What is Difference between Thread level Data Page and Clipboard.? Why we not use
thread level instead of clipboard both are doing same . Please comment?
A) The purpose of data page is not to hit the source for multiple times and get the data
from the loaded clipboard datapage based on the refresh condition in the load
management tab. Suppose if the scope of the datapage is thread, the datapage is
accessed for that particular thread. We can have the different modes like read-only,
editable, savable. The datapages can be loaded synchronously or asynchronously.

B) For the normal clipboard pages, it's just a page on the clipboard, it doesn't have any
refresh strategy or scope. We just created the normal clipboard pages as part of our
implementation and we are only one to take care of removing the pages from clipboard,
otherwise in some situations, it results in out of memory error if we don't manage the
clipboard pages properly.

23) How to extract a data type records daily as .


A) We need to schedule the report on daily or weekly or any other frequency basis... So it
get automatically running and provide the results…

24) How to start and stop sla in activities?


A) We start SLA, STOP SLA and Adjust SLA's.
1. to adjust SLA times we need to call OOTB activity "pxAdjustSLATimes" and pass
the parameters.
2. To stop SLA, we need to set the proeprty pySLAname to blank in the table
pr_SYS_QUEUE_SLA, this has to be done by creating our own activity.
3. To start an SLA which is stoped, we need to set the proeprty pySLAname to the
Name of SLA and followed by adjust the times, in the table pr_SYS_QUEUE_SLA, this
has to be done by creating our own activity.
4. 4. If we want to stop all SLA in our application we can do it by stopping the agent
ServiceLevelEvents of
rule set Pega-ProCom.
B) You can stop the SLA by using the tickets. Let's say you have a flow with a start shape,
assignment shape and end shape and you have configured an SLA on the assignment
shape. You can add a ticket on the end shape. You can call the ticket on the endshape
whenever you require. This results in stopping the sla on your assignment shape.

C) I think you can't start the sla through activity. I mean you are configuring the sla, the
ootb standard agent processevents is responsible to process it. If you don't want to call

the sla then don't configure it .

25) **why do we use savable data pages? What are the advantages over obj -save?
A) Savable data pages usable us to save the data into a table. The actual purpose is to
save the frequently used data into the table of records. The Advantage over Obj Save is,
we can manipulate the data in the data transform and then save the data into table.

26) Does savable data pages save each record at once or all records at once?
A) Yes one record at a time.

27) How do you handle an exception on save for a record when savable data pages are
used?
A) We can call pxErrorHandlingTemplate OOTB data transform as a reponse DT to
handle errors. Where we can log the detials

28) I have a requirement of retrieving the information from 5 different services at a time
and display this on UI. Example: you are retrieving all airline details while searching for
a specific date. This shouldn't impact the performance . How to achieve this? I believe
we can achieve it through asynchronous connect-rest methods but what should be the
pool ID that we need to mention in Connect-wait method.
A) We have to use data page to do this call this data page in an activity using the method
Load0DataPage (5 loops on single method) after loop is done a connect wait step with
specific pool ID. Next time when some one searchs this data page gets copies, This is
how we can make the performcace better.

29) Hi Harsha, data pages can load with reference only right, then why we have load
data page method in an activity ? What is the importance of it other than load a data
page ?
A) Load data page method is asynchronous and where as refering data page it loads
synchrounus…

30) Hi Harsha, One question is asked to me 3 times in interview, please help Q: If the
refresh strategy is set as 5 hours in Data Page means if data page is created on
clipboard at 12:00 PM, next time it will get created at 5:00 PM. Now if the source data
gets updated at 12:10 PM (more data is added), it will not reflect in UI, provide the
solution so that updated data will get reflect on UI automatically without manual
intervention of flush data page?
A) First thing is that as per the question and details provided by you…
B) Data page worn get automatically created at 5 pm... It gets created when next request
Is been made…
C) If data in source gets updated at 12:10 to get latest data there are different ways, one
way is to use reload once per interaction option.. Other ways i have to explain as
a seperate video
31) I faced this question in an interview
we are using a parameterize dp , now pega will append a pagelist for each new
parameter pass. now i have to replace the old pagelist with new one rather than adding a
new pagelist for new parameter. how to achieve this ?
I answered :we need to flush it before running it again . but this was not interviewer was
looking for. can you please tell me
A) Hi, The answer you provided is acceptable.Because without flushing we cant acheive
it.
B) One thing i can say is, the question itslef is not correct as per the technical or business
because when you want to flush the parametr page each time, there is no point in making
it parameterised...
C) well finally it could , refresh once per interaction option , that may be one possible
choice to implement this.…

32) hi sir, i get a one question: i have 5000 records in data page i want use 100 to 200
records how can we do that?
A) There should be some criteria based on which u want to use the 100 to 200 pages, so
based on condition we may loop and use it.. Or else if you want to use from 100th page
to 200th page then we need to write condition to check pxlistsubsript value and then use
the pages.

33) What are the major challenges faced in your project.?

34} Hi it's an interview question please clarify


When the datapage loaded first time if mentioned refresh older than 1 hour And
when the datapage loaded second time .
A) After 1 hour of the loaded time
B) there is no request Even it will loaded
C) Data page gets loaded next time when a new request is been made…(by HARSHA)
D) Data page gets loaded next time when a new request is been made...(by HARSHA)

Please explain incase of 24 hours, if server shutdown means?

34) its an interview question is we 3 properties country,state,city at country what scope of


data page we should create and for state also what scope? please explain.
A) Hi, all of these we can create node scope with parameters…
That would be better approach…

35) Can we remove the node level datapage?


A) Yes we can. We need to call OOTB activity FlushDeclarativePage .

36) why editable datapages dont have a scope?


A) editable data pages done have node scope... This is to avoid data inconsistency

37) How to withdrawn the work object before Approve/Reject?


A)

38) How to call from one datapage to another datapage?


A) just refer second data page name, in first data page , srouce rule DT or activtiy.
39) Is data page is always a shared page?
A) Datapage is always a shared page..

40) why we have this two like Customer Data and pegadata.....while creating the data
page it will select the customer data and why not pegadata?
A) Pega Data is "Rules Schema" , and Customer Data is "Data Schema". Only rules will
be in rule schema, whereas everythign we create will be in Data schema.

I heard some companies are using PEGADATA....Is there any particular reason !! Why
not customer data that's my doubt

41) Hai..i have faced 1 intrvw question that is....without validation rule...how can we
perform server side validations?! Is it possible?!please can you explain ?
A) yes it is possible. Its a very nice questions... We can do it using Activity by using
Property-set-messages, precondition...

42) can you please explain how it is possible fetching record without using activities and
DPAges?
A) We could do it by using Linked properties.…

You might also like