Run Business Rule Filed on Transform map Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2023 10:18 PM
Hello Experts,
I saw the run business rule field on the transform map script. i know when its checked business rule will run but my doubt is when that business rule will execute. can anyone explain me small example?
thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2023 11:02 PM
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/updation it will trigger
it's how normal BRs run
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2023 04:34 AM
Hello, @Ankur Bawiskar @Deepak Negi @Karan Chhabra6 I have written after the business rule on sys_transform_map in the business rule I have a simple demo message that I have used onafter event.
my data from my Excel sheet was successfully transferred to the Target table but that business did not run. my question is why that business rule is not running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2023 04:37 AM
Are you sure the BR conditions allowed the BR to run?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2023 11:15 AM
Business rules need not to be written on Transform table
the business rules are supposed to be created on the target table where record is being inserted.
Try putting a gs.log or gs.info to see if the BR is running.
hope this clears.
Regards
Deepak