Copy attachment from one record to data source in flow designer

Asmita7
Tera Expert

Hi Friends,

I am working on a flow designer. I want to upload the data in attachment into target table via import set (data source)

1. End user will attach a file to catalog item.

2. The attachment will be displayed on RITM variables.

Asmita7_0-1748580857824.png

3. In flow designer, I am creating "Copy Attachment" action

Asmita7_1-1748580935355.png     Asmita7_2-1748580974100.png

4. I have attached the file to Data Source which is already created in system.

5. After this, I need to run the already created Transform map from Flow itself. How to run the transform map from flow ? Please guide on this.

Thank you for your time.

Asmi

 

 

6 REPLIES 6

YaswanthKurre
Giga Guru

Hi Asmita,

 

Please select the Data source record that you already created in the data source table and after each transform load/run is done- delete the attachment from data source by writing a post import script to delete the attachment after each transformation

 

Thanks,

Yaswanth

Thank you Yaswanth for your response.

I have selected the "sys_data_source" table. But how to select data source record in ""Target Record" field ?

My trigger is catalog record. Please guide

Hi Asmita,

 

You must have created a record on "sys_data_source" table right and that should have a name associated with it. Click on Select target record and directly select the record based on the name you given.

 

Thanks,

Yaswanth

Yes. I created lookup record and selected the data source record from there. I want to run the transform map from flow ? How to run it ?