- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 06:26 AM - edited 05-10-2024 06:27 AM
I have a UI button Ready for delivery. This button should be visible only when the stage is in_progress. When user clicks on this button, it should update the stage to ready_for_delivery and hide this button. How do I do this?
I am updating the stage through a flow.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2024 04:47 AM - edited 05-11-2024 04:48 AM
Hi @vidhya_mouli ,
I tried your problem in my PDI and it works for me. In your UI Action add below condition
current.state == 'ready_for_delivery' (In string)
Note: If you are using current.state you need to be client to false so that's why it works
Result
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 06:32 AM
In the condition field, add a script according to the condition.
And also you can refer this it might be helpful
Mark it Helpful and Accept Solution!! If this helps you to understand .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 06:38 AM
Thank you for your reply. I tried this but did not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:34 PM
what do you have on condition field on this UI action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 05:49 PM
Current.stage == in_progress