Problem: Getting the Same File Name for All Records

Scenario:

  • I am building a custom flow to fetch files from FTP, parse them into a different format, and process them.
  • Each file contains multiple purchase orders (POs) that I lookup in NetSuite (one-to-many relationship).
  • If an error occurs during processing, I throw an error using postResponse and attach the file name for debugging purposes.

Issue:

  • I retrieve the file name by adding {{record.fileName}} in the data URI and using a preSave hook as per the Celigo documentation.
  • However, the same file name is being attached to all errors, instead of the specific file name for each record.

Goal:
Attach the correct file name to each error for accurate debugging.

@anekporwal this is a bug. Can you make a support ticket and then the support rep can link the ticket to our internal ticket so you get notified when it's fixed?