onBefore Transform script not triggered

Gopi22
Tera Guru

Hello All,

 

We are facing an issue with a transform map wherein the transform onBefore script is not getting triggered. 

A third-party tool is hitting our import set table API and updating information. The transform map was working fine, but when we created a new true/false field and tried updating the field using information pushed by third-party tool, we could notice that the transform onBefore script itself is not triggering which should update the true/false field. 

 

We have put some log statements on the transform script, which is not logged. 

 

Please guide on how to resolve this issue. Thank you in advance!

 

Regards,

Gopi

2 REPLIES 2

Sumanth16
Mega Patron

Hi, 

 

Can you paste the Onbefore transform script here?

 

Thanks & Regards,
Sumanth Meda.

 

 

Amit Gujarathi
Giga Sage

HI @Gopi22 ,
I trust you are doing great.

  1. erify Transform Map Configuration:

    • Ensure that the transform map is correctly configured and associated with the import set table.
    • Double-check the field mappings in the transform map to ensure the true/false field is correctly mapped.
  2. Examine the onBefore Script:

    • Review the onBefore script associated with the transform map.
    • Make sure the script is correct and does not contain any errors that might prevent it from running.
    • Ensure that the script is active and enabled.
  3. Check Field Name and Case Sensitivity:

    • Confirm that the true/false field's name in the script matches the field name in the transform map exactly, including case sensitivity.
  4. Debugging the Script:

    • Add additional log statements to the onBefore script to further investigate the issue. For example:

      javascriptCopy code
      gs.info("Transform onBefore script is executing.");
    • Check the system logs (System Log [syslog]) for any related error messages or exceptions that could provide more insights.

  5. Test the Third-Party Tool Integration:

    • Verify that the third-party tool is correctly sending the information to the import set table API.
    • Ensure that the data being pushed by the third-party tool matches the expected format and values defined in the transform map.