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

my question is the last action, a update record, where i update the filed i create as a type file attachment, that not show the new attachment

I create a action, name rename attachment

find_real_file.png

The first REst is to get the attachment metada

the second rest is a post to upload a file with new name (the copy attachment native of servicenow, have no option to rename a file)

the third rest is a DELETE of the old file

 

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