Question
Salame
Last activity: 20 Mar 2017 5:10 EDT
Display a modal dialog via an activity
Hello Guys,
How to display a modal dialog that contains 2 buttons "Proceed" and "don't proceed" via an activity? behind those 2 buttons, there must be certain action to do.
I don't want to use the "local action" event as I"m not at UI level, but, inside the activity
Thanks a lot,
Rosy
***Updated by moderator: Marissa to add #helpme tag as user has stated they still need assistance***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Rosy,
Try calling the OOTB ProcessAction activity with appropriate parameters.
Salame
Hi Palle,
Can you please give me more details?
Thanks a lot,
Rosy
Tata Consultancy Services
GB
Can you please provide the sample parameter values.
Thanks You.
Salame
Hello,
Can someone help please?
Thanks,
Rosy
Pegasystems Inc.
IN
Hi Rosy,
You can set the below parameters for the OOTB activity ProcessAction:
NewTaskStatus -> the flow action you wish to launch
ActionSection->pzModalTemplate
StreamType / StreamClass -> Rule-HTML-Section
bIsModal->true
You can refer to the paramters tab of the activity ProcessAction for information on the remaining parameters.
Please note : It is not a best practice to use activities for such usecases
Thanks,
Gisela
Salame
Thx a lot Gisela
Blue Rose Technologies GmbH
DE
As per my understanding from within an activity we won't be able to launch a local action. What is the entry point for running the activity (or) how is it getting triggered ? This is possible only if the infrastructure that is executing your activity is capable of rendering the response (which is generated via the activity) in a modal dialog.
This is so confusing to me atleast. Can you please provide us your exact requirement so that we can guide you with the best possible answer.
Cisco
US
Hello Sents, I have a similar requirement . We have delegated decision table rules to the user. Now when user checks-out the rule and modifies the decision table he would do a check-in. Now in our case we need to do a validation on the decision table that user just modified to ensure that there is data in at least one column of the decision table. Hence we have written an validation activity in the 'PostCheckInDialogExtension' activity. Now when the validation fails we need to display a pop-up with an appropriate message with an OK button. Could you please help me out here with my requirement. Thanks in advance.
This comment has been branched out as a new node and the new thread can be followed here
Pegasystems Inc.
IN
Hi Naveen,
You have replied to an older thread which lacks activity. To gather better visibility for your question, I have branched it to create a new question. You may continue your conversation on this thread: https://collaborate.pega.com/question/display-modal-dialog-activity-0
Hope the information is helpful.
Thanks!