BR updating state twice

klavan32
Tera Contributor

Hi All,

 

We have a before update BR where, if the state is in awaiting user and if changes made by requested by /for , state should be updated to WIP automatically.

 

But this is posting the state journal twice in activity which is affecting some reports.

klavan32_1-1750730582696.pngklavan32_2-1750730601124.png

 

klavan32_0-1750730544004.png

 

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

@klavan32 

your business rule is just changing the state and not adding journal entry

There seems to be another business rule which runs on update which is adding this

what debugging did you do?

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

klavan32
Tera Contributor

Hi @Ankur Bawiskar I can see its happening only for the awaiting user to WIP state as the BR is running on top of it, I dont see any other BR related to this. 

@klavan32 

then some other business rule is definitely doing or some flow is doing

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

I have added current.setworkFlow(false) inside the BR and state was changed but no mention on activity log even for once. Could you please help me where to actually check the workflow thats running on task related to state changes