Run a business rule after a transform map completes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 01:05 PM
Hello- we have a scheduled job that pulls in user data on a daily basis. We also have a business rule that's triggered via the scheduler later in the day that fills in additional detail on user records. I've been asked to shorten the gap between the time the user pull completes and the business rule runs. Unfortunately, there's no trigger type of "After Parent Runs" on the scheduled job to simply connect this job to the user pull.
I am using a transform map to transform the user data into the sys_user table; seems like an onComplete script has some potential to connect these two items together.
My question: is it possible to call a business rule from within an onComplete transform script? If not, would be best course of action be to copy the script used by the business rule into an onComplete script and then turn off the scheduled job so the business rule doesn't effectively run twice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2017 02:03 PM
Dan Hinrichs wrote:
Hello- we have a scheduled job that pulls in user data on a daily basis.
We also have a business rule that's triggered via the scheduler later in the day that fills in additional detail on user records.
Why doesn't the rule run against the records as they're pulled in? it may take longer, but that's the purpose of the rule, isn't it?
.. or do you want another scheduled job to run after the first job is complete?