How to change the Stage of a RITM using UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 01:54 AM
I have a requirement. When the Stage of a RITM is in in_progress stage (this is done through a flow), an UI button Ready for Delivery should be available. When user clicks on this button, the stage should move to delivery. I have the following UI action.
However, when I click on this button, stage is blank. Why? Any suggestion how to resolve this?
The stage set is:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 02:01 AM
The script you have written works on client side. If you want to make it server side then write the script outside your changeStage() function.
You can use current object to write server script in ui action.
Regards,
Sumanth