BR not working when a record is inserted through workflow

Ashutoshtbh
Tera Contributor

Hey Community,

I got stuck in a weird situation where if I manually create a record, the BR is working fine but if system is creating a record using workflow, the Br is not getting triggered. Any leads ? 

PS - It's a before insert/update BR.

4 REPLIES 4

Sonam_Tiwari
Kilo Sage

Hi @Ashutoshtbh ,

 

I suspect that's because of execution order, but not sure without much insight ?! Try tweaking order of your BR as both workflow engine and before BR are part of your use case.

 

Quick ref - https://docs.servicenow.com/bundle/washingtondc-application-development/page/script/general-scriptin...

 

 

 

 

Consider indicating the response as helpful and marking it as correct if it meets your needs.

I have tried changing the order as well, but it didn't worked as expected. 

Maddysunil
Kilo Sage

@Ashutoshtbh 

If there is any script associated with the workflow, ensure that it does not override or conflict with the functionality of your business rule. Review the script logic in the workflow to see if it's unintentionally preventing the business rule from executing. Also ensure that the user executing the workflow has the necessary permissions to trigger business rules and perform the desired actions on the record. Also try to change the order of business rule bit less.

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

Checked, but still not working