- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 07:03 PM
I created a UI Action to cancel a demand with script below:
But active field is not changing to FALSE.
is there issue with my script? Or i can try BR to update the active field to false?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 09:11 PM - edited 01-09-2024 09:14 PM
Hi @Al-JhonV You dont need to create a new state to cater this requirement
, you can use OOB rejected option to cancel the Demand. use 7 as value . When demand is rejected, active will be set to false dynamically through OOB script
Please chek this OOB business rule to see how demand state works
Demand Active State Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 07:43 PM
Hi @Al-JhonV OOB there is no state values as '4' for demand. Can you check the state value?is it custom state?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 09:05 PM
Helo Harish, i created the new state "cancelled" = 4 under demand table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 09:11 PM - edited 01-09-2024 09:14 PM
Hi @Al-JhonV You dont need to create a new state to cater this requirement
, you can use OOB rejected option to cancel the Demand. use 7 as value . When demand is rejected, active will be set to false dynamically through OOB script
Please chek this OOB business rule to see how demand state works
Demand Active State Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 09:15 PM
That is my last option. thanks