Client Script not triggered when using "Close Task" UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I’m facing an issue with a Catalog Task setup.
I created a Catalog Client Script (onLoad) that defines when a specific variable should be displayed based on certain conditions.
In addition, I created a Client Script (onChange) that should make this variable mandatory when those same conditions are met and the task is being closed (state changes to Closed Complete).
However, this logic only works when I manually change the state field, and does not trigger when clicking the "Close Task" UI Action button. In that case, the task is closed first, and only afterward does the variable become mandatory.
Has anyone encountered this behavior before or found a good approach to make the variable mandatory when closing via a UI Action?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I tried option 3, and it is not working i think bc of the asynchronous call
