- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 12-11-2022 01:40 AM
In last few weeks I have seen few questions on community where users are struggling to hide/show states based on other state values in various tables including incident, sc task, problem etc.
There is a OOB free plugin named "State Flow (com.snc.state_flows)" which allows you to do it easily without any customisation or scripting.
As an example if we want that incident should only transition from "new" to "in progress" state and not any other state below steps can be followed:
1. Install free "State Flow" plugin in your instance.
2. Navigate to state flows from application navigator
3. Create a new state flow as per your requirement (new-in progress) in this case. Select the table name, starting and ending state.
4. Once created click on "Create Client Script" UI action.
5. Post that go to your incident table and check the state values.
6. You can only transition from "new" to "in progress" now.
There is yet a lot to be explored in this, below is the link to service-now state flow documentation, go check and let me know in the comments.
- 810 Views