State Transition for custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 09:57 AM
Can we create a state model for the custom table, as the default state model for the problem/change table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:19 AM
Hi @RAVEENA3
Seems yes.
Check it here
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:55 AM
Hi @RAVEENA3,
To add a state model and transitions in ServiceNow, start by navigating to "All" > "State Management" > "State Models." Click on "New" to create a new state model. Provide a descriptive name for the state model, select the target table, and specify the application. Assign an order to determine the sequence of evaluation, and keep the model inactive until you define state transitions.
Utilize the Condition field to set conditions for applying the state model to records. For instance, you could set conditions based on categories like "Networking" or "Security" if different state models are needed for distinct requests. Save the state model to reveal the "State Transitions" related list. Click on "New" in this related list to add state transitions.
For each state transition, define the state model it belongs to, the specific state it controls (e.g., "Ready" or "In Progress"), and assign an order for evaluation. Designate a state as a "Terminal State" if there are no transitions from it. Provide descriptions for clarity, such as specifying the allowable transitions for a state. Use the Condition builders for "Enter Condition" and "Exit Condition" to set criteria for entering and exiting each state. Submit each state transition, and continue adding transitions for the remaining states.
Once all state transitions are defined in the state model form, select the "Active" checkbox and click "Update" to enable the state model.
If you found this reply useful, please mark it as solution/helpful.
Thanks and Regards,
Ehab Pilloor