Question
Tech Mahindra
CA
Last activity: 26 May 2017 14:09 EDT
Conditional configuration of OnClick events - Button
We have a requirement to open a window (third party application) on Finish Assignment if there are no page level messages
1) tried to use a validate rule to trigger the validations and use Show-HTML in which onload try to run the javascript top open a window. - Which is not working.
2) Tried to create action events on a button, First do a "Finish Assignment" and then "run script" if there are no error messages on the page but unfortunately pega has restricted the when conditions for buttons / links and some other UI controls (See Attachments)
Is there any other way to achieve this requirement
Thanks
Naveen