Transform Map in Synchronous Mode - Coalesce Field Script Called Twice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2019 09:16 AM
I have noticed a strange behaviour in executing Transform Maps in synchronous mode (i.e. via background script or web service).
Normally (in asynchronous mode), transform scripts are executed in this order:
- onStart
- field source script for coalesce fields
- onBefore
- other source scripts
- transform script
- ...
However, with synchronous mode, field source scripts for coalesce fields is called twice:
- field source script for coalesce fields (extra call)
- onStart
- field source script for coalesce fields
- onBefore
- other source scripts
- transform script
- ...
Of course, if your coalesce field source script relies on anything declared in an onStart script, you are out of luck.
Is it a bug or a feature?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2020 07:42 AM
For those experiencing this issue, I submitted a HI ticket and the engineer told me that this has been fixed in Quebec.
Below is the PRB:
PRB1239329: Transform map scripts are running in a different order for sync and async