- 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-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-11-2024 08:14 AM
This worked thanks. But I have another issue now. When I click on the button, the stage changes as expected. But the button does not disappear immediately. I had to refresh the page. How do I make ti disappear immediately.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2024 10:03 AM
Hi @vidhya_mouli ,
You need to change the state and save the form than the button will show and hide basied on your condition
Now I change the state and save the form
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-12-2024 08:55 AM
This button is not in the back end. It is in the agent workspace.