Flow Designer Copy Attachment not working

User282167
Kilo Contributor

Building a flow in flow designer, and the last steps are to

  1. create a knowledge article using the information contained in the problem_task record
  2. confirm Knowledge article exists
  3. copy the attachment from the problem_task record to this newly created knowledge article

find_real_file.png

Step 1 and 2 works and I can see the Knowledge article but step 3 does not work as expected.

find_real_file.png

 

find_real_file.png

find_real_file.png

Copy attachment step keeps on giving this error

Error: The Record type problem_task does not match with Attachment table type. (sys_script_include.5430bdf89313130079b5925cf67ffb04.script; line 30)

even though i can see all the correct values are being returned

find_real_file.png

Any guidance or help on what I am doing wrong will be appreciated.

 

1 ACCEPTED SOLUTION

Thanks for sharing the image.

I believe this question was answered previously.

if you think there is any response that helps you please mark that helpful or accepted so that this thread can be closed.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

10 REPLIES 10

Hi,

yes before insert BR should work

not sure from flow

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi,

Can you please help knowing whether you were able to copy all attachments to target record?

please share screenshot

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur

 

I updated the workflow as shown below (hope this is the screenshot you were looking for).

find_real_file.png

Kind Regards

Deon

 

Thanks for sharing the image.

I believe this question was answered previously.

if you think there is any response that helps you please mark that helpful or accepted so that this thread can be closed.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Āæcomo vas a poner un vinculo en una imagen?

sos de los que mandan el CBU en una foto? o tus viejos son primos?