Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Using Flow Design to update a Filed Type File Attachment not show the attachment

Hideo
Tera Expert

Hi, I have a issue when I using a Field Type: "File Attachment".

I create a flow make a copy of this attachment with another name, then delete the old attachment, but when I update a record with the new attachment, on the custom field type, the new attachment not appear on the field.

 

1 ACCEPTED SOLUTION

Hideo
Tera Expert

Thanks I resolve

 

I create a action using lookup record to sys_attachment

then update a record for file name

on scope global

 

then create a flow on scope of my app, call the action apssing the sys id of my record and the new name

 

thanks for help

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron

Hi,

what is the error shown in flow context?

Regards
Ankur

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

The no erro on flow.

 

The flow I create, make a copy of attachment with new name, and delete the old attachment.

 

But on the custom file filed (filed type: file Attachment), after i run my flow, the new attachment not appear on the filed, but the attachment with new name is recorded in sys_attachment table with table sys id of my custom table.

Can you share your flow steps?

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

find_real_file.png