How do you make work notes mandatory when a state changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 10:22 AM
I tried to create a UI policy but there is not action for when a state changes. I want to make work notes mandatory when the states changes from on hold to work in progress
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 10:48 AM
How do I add to a UI action I created? I have a UI action button that changes the state to In progress. Script is below.
current.incident_state = 2;
current.update();
action.setRedirectURL(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 04:33 AM - edited ‎02-23-2024 04:36 AM
@KB30 You Can do this with the help of onChange() Client script.
Please refer my snapshot provided above.
Here is a Code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 12:36 PM
@Aishwaryaaa_ is this possible via a UI action? The client script still calls for hte user to change it but the state is updated via a UI action button I created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2024 09:47 PM
@KB30 , you can call the client script in the UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2024 09:03 AM
@Aishwaryaaa_ How can I call it? Here is my sample script
