The Zurich release has arrived! Interested in new features and functionalities? Click here for more

State is not getting changed

Devansh1
Tera Contributor

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,

 

image.png

 

what could be the reason..

 

Thanks,

 

1 ACCEPTED SOLUTION

@Devansh1 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Devansh1 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

We are updating assignment group from Lookup Rules and setting the state from BR.

@Devansh1 

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

AnkurBawiskar_0-1757072833101.png

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Devansh1 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader