- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 06:03 AM
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.
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 08:55 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 07:10 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 07:07 AM
I create a action, name rename attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 07:09 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 08:55 AM
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