What is the order of execution of Transform map and Business rules?

Suggy
Giga Sage

After which phase of Transform Map the actual database operation happens?

And also when the 'Run business rule' is enabled on the Transform map, and if there is a conflict for a field (Transform map says to update the field with value as 'A' but business rule says update it as 'B'), what happens?

2 REPLIES 2

Eswar Chappa
Mega Sage
Mega Sage

Hi @Suggy 

Please find the below links for your query

 

https://www.servicenow.com/community/developer-blog/validating-the-order-of-execution-for-transform-...

 

https://www.servicenow.com/community/developer-forum/what-is-the-order-of-execution-business-rules/m...

 

Thanks & Regards,

Eswar Chappa

Mark my answer correct and Helpful if this helps you ðŸ˜€

Community Alums
Not applicable

Hi @Suggy ,

Each row in the import/excel is considered a record, so if you start importing a record:

1. All before Business Rules will execute before transforming the row to a record.

2. Once record is inserted, all the After BR will execute

Usually using transform map we insert or update the records.

the BR will run at that time. If it's before insert/update then before insertion/update it will trigger.