Can I delay the execution of Transform Map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 01:51 AM
Hi All,
I am trying to create a transform map where I want to run the transformation after some processing in staging table. After the processing (Using some async BR) I will Update the status in staging table and then the transformation should begin to create or update data in target table.
Is it possible to achieve this?
Regards,
Amitra
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 02:20 AM
Instead of of using Transform map , After BR will increase the execution load I think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 08:24 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 08:38 AM
Hi
You can use onStart Transform Script to achieve this as the onStart event script is processed at the start of an import run before any data rows are read and then other scripts execute. The sequence of execution is like -
1. onStart script
2. For each imported row -
i. Field mapping for coalesce fields
ii. onBefore script
iii. Field mapping for non-coalesce fields
iv. Transform map script (when Run Script Checkbox is true)
v. Insert/Update takes place in database
vi. onAfter script
3. onComplete script
'
Hope it helps!
Please mark it as helpful or correct if applicable.
Thanks,
Aishwarya