Posted: 20 Nov 2018 16:19 EST Last activity: 2 Dec 2018 5:25 EST
Custom When conditions are not invoking on button actions
We are showing some grid which has multiple checkboxes in harness by using temporary page and we have added custom button with below actions to validate or to close the popup.
1. Run activity which will perform validations on check box selection.
2. Refresh this section if validations fails in action1.
3. Close the window when there is no validation failure in action1.
So in action1 i am updating flag when ever validation fails and referred this flag in action2 and action3. when we use above flag property directly as below or through when condition action2, action3 are not executing.
We are using pega 7.2.2. Please letus know any OOTB issues exists.
***Updated by Moderator Marissa to update platform capability tags***
var oSafeUrl = new SafeURL("classname.activity");
Thanks for detail reply. We have used similar kind of script and used conditions in scrept to close the window are reload the section from activity using reloadsection section activity by passing section name. It worked but some times screen is not reflecting the validation messages.
Finally we have created one placed holder flow and launched with Flow in modal dialog action . So all the functionality handled with assignment.