Flow Designer: Copy Attachments Not Working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2020 06:38 PM
I have a flow that triggers when a record is added to a custom table of mine.
When that record is created, the flow needs to create a new record in the sys_data_sources table, and once that new record exists, i need to copy an attachment from the trigger record and add it to the new record on the data sources table.
I continue to get the following error:
Here is what the flow design looks like currently:
Once i'm able to get this attachment added, then i'll be creating a custom action to effectively kick off this data being loaded as an import set and the loaded/transformed.
This is my first go with Flow Designer, so any help is greatly appreciated. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 09:47 AM
So glad you posted this - it was very helpful! I'm new to Flow Designer myself and was having a rough go with the copy requirement but this pointed me in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2020 02:01 AM
Thanks alot. The post helped me a lot. I am currently taking my first steps in Flow designer. You are my heroes.
I have been trying to solve this problem for a long time.
This solution is a possible way and it works just fine.
best Regards
Hans-Joachim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2020 07:39 AM
Hi...this is my first post. I am new to using Flow Designer as well and replicated your steps, Eric. This works very well. However, if there are multiple attachments it copies only one. I tried to change the Lookup Record to Lookup Records, but it seems the Copy Attachment only facilitate one.
Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2020 09:18 PM
Hi Bobby,
If you are still looking for a solution, you can use look up records followed by for each. Sequence of steps is as follows:
Look up records
If count is greater than 0 then
For each item in (Look up records)
Look up record
Copy attachment
It worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2020 07:00 AM
Akshaya, I was able to get this to work. Thanks for the assist. Here's the logic is used within flow designer. it worked for 4 attachments related to one RITM--hope this is helpful to others. Cheers.