State is not getting changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago - last edited 7 hours ago
Hi All,
There is a BR which check the condition if the assignment group is not empty and assigned to is empty the state should be assigned it is working fine in the workspace, but if record is created via record producer the state is not changing after updating some value it is getting updated. Even in some cases just saving the record it is getting updated,
what could be the reason..
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
the BR is before insert/update?
Are you updating assignment group from record producer and assigned to is empty when Record producer is submitted?
if BR conditions match then BR should work fine
Also are you setting state field via record producer script etc?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
We are updating assignment group from Lookup Rules and setting the state from BR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
so it means the BR and Lookup rule is conflicting and Lookup rule is running after before BR and hence BR condition is not getting satisfied.
Ensure your BR is with order less than 1000
OR
Try setting the group from record producer script itself and let Lookup rule set it again. with this your BR will trigger and do the necessary action
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi @Devansh1
please share the BR.
It might be the checkbox on create/update or anything else, please share
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */