Question
LYANCE
FR
Last activity: 30 Jan 2017 3:58 EST
Call control on Button Click
Can we call control on button click events?
If possible, please provide me steps.
***Updated by Moderator: Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hello,
Control rules are used to control how properties appear on user forms, correspondence, and other HTML forms, for both display and for accepting user input. If you want to open the control ruleform on click of a button then you can use "Open rule or Open rule by keys or Open rule by name" based on your requirement as shown in attachment. Let me know if you are looking for something else.
Regards
Mahesh
LYANCE
FR
In fact, i have a button configured as shown in the file, i need to add the default action of "Submit" button of Pega to this button or can i configure the Standard button of Pega "Submit" which contains "pzModalButton" as a control and add an activity in which i can show the harness
Shell
IN
Hi,
Thanks for posting your query to PSC.
From the screen shot and the comment you have made I understood that you want to perform two actions on click of the button:
1. Launch a Harness in a new tab. - Define Launch Harness Event
2. Configure the same button with the default action of "Submit" button. - Define FinishAssignment (under Process work category) event. This will finish the current assignment(acts as submit) moves to next step in the flow.
Please find the attached screen shots.
Do let me know if this helps you or you are looking for something else.
Regards,
Chinmai Sravanthi
LYANCE
FR
Hi,
I thank you for understanding what i want to do but with 2 actions: "Harness" and "finish assignment" it doesn't work, that's why i thought to invoke the control
"pzModalButton" because this control is used in "Submit" button.
Also, i tried to configure "submit " as shown in the file ( as a property reference :Submit ) and i configured the "submit" property as shown in file
LYANCE
FR
Hi,
I thank you for understanding what i want to do but with 2 actions: "Harness" and "finish assignment" it doesn't work, that's why i thought to invoke the control
"pzModalButton" because this control is used in "Submit" button.
Also, i tried to configure "submit " as shown in the file ( as a property reference :Submit ) and i configured the "submit" property as shown in file
Shell
IN
Hi Zeinebb,
I have tried the same usecase and it is working at my end. I wonder why it is not working at your end.