Support Article
Set data in Committed declare trigger don't reflect clipboard
SA-76493
Summary
When using a Committed Save type declare trigger activity to update values on an object, the change does not reflect on the Clipboard or the UI after the flow completes. However, the data is saved to the database.
Error Messages
Not Applicable
Steps to Reproduce
- Create a committed Save declare trigger activity in the work or case type class.
- Set any property on the work page using the Property-Set method.
- Add an Obj-Save method for the work page.
- Submit any flow action to trigger the activity. The property on the Clipboard and on the UI does not change.
- Refresh the object from the database. The property reflects the changes made by the trigger activity.
Root Cause
This behavior is as per Pega product design.
Resolution
Here’s the explanation for the reported behavior:
The Committed Save type declare trigger activities run on a Copy page and this is committed to the database. However, the original page does not reflect the changes made in the Committed Save type trigger activity.
To view the changes made, reload the page from the database.
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.