Thursday
I have a CSV table that contains both parent and child records.
I need to identify if a row is a child based on a specific value in the Name field.
The parent is also identified by a specific value in the Name field.
For each child record, I need to:
Find the relevant parent record within the same table
Update the child rowโs ParentId field with the value of the corresponding parent
I am looking for an efficient and clear way to implement this logic in Workato.
Thursday
Hi @shaked,
you can implement with the help of SQL Transformations by Workato application by passing CSV File contents or a file from FileStorage and implement the logic in SQL Query, where you can get the required output rows in a single step. Hope you got my point?
yesterday
Thank you for your response,
Iโm relatively new to Workato and wanted to make sure Iโm following best practices.
In your opinion, would using a Lookup Table be the right approach here for mapping parent and child accounts, instead of using SQL?
yesterday
Hi, the solution @rajeshjanapati 's is ok because:
Lookup table: Not suitable for large volumes, No complex queries, No relationships
SQL Collection: You have many records, Advanced SQL queries, You need to make complex queries