- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 11:50 PM
Hey, I created new state flow but it seems that it dose not work on new record form. only after I save the record it apply the state flow.
why is that ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 12:34 AM
yes this is correct. A new record has no value, and thus no conditions can be applied. Furthermore, state flows work on the server side and this requires any record operations like saving or updating.
Maik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 01:21 AM
Hi,
What you can do is make state field readonly on New Form or hide it completely.
Also you may remove unwanted options by checking g_form.isNewRecord() in onLoad client script.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 01:21 AM
Hi,
What you can do is make state field readonly on New Form or hide it completely.
Also you may remove unwanted options by checking g_form.isNewRecord() in onLoad client script.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 01:32 AM
@eyal abu hamad Thank you for marking my response as correct solution and glad to know it helped you to resolve your issue.
I would appreciate your king gesture if you could mark @Maik Skoddow first answer correct as well (your can mark multiple correct answers), as he confirmed and answers your first question about system behaviour.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 03:33 AM
Experts already answered, but my thought it will a new customization and new state required changes in
Reports
SLA
Scripts
Flow
ACL
So before you create a new state, what value it servers.
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]
****************************************************************************************************************