UI Action sets a different value than the one in the script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 08:57 AM
Hello all,
I have encountered a very weird problem.
I created a simple UI Action called "Cancel". Here is the settings:
It works just as expected when I click on it. The conditions are also working just fine:
But when I say OK, then the script set it to Closed Complete, instead of the value I prescribed:
I have no idea why this is happening?
Thank you.
Best,
Firat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 09:39 AM
Okay, I moved my BR to after and the problem seems to be solved :).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 06:50 PM
Glad to know that my comment about business rule solved your issue.
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 09:19 AM
Can you manually set the state to Cancelled and see if the state changes to Closed Complete on database update?