Attachment version renaming

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 10:04 PM
While uploading a attachment in submission record if a attachment is already there and a same named attachement is getting attached it should rename the new attached document as a version.
For example Test.txt is there again if i attach Test.txt it should get attached and renamed as Test_V1.txt
so now my record should have 2 attachment records as Test.txt,Test_V1.txt
@Ankur Bawiskar Can you help in this.
Regards,
Debasis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 10:06 PM
this is for normal form or catalog form?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 10:20 PM
Hello Ankur this is for custom form not catalog form and the name i thinks needs to be altered in attachment table.
Regards,
Debasis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 11:04 PM
Hi @Debasis Pati You can use before BR and change the file name.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 11:08 PM
can you help with the script i am trying out my script doesn't work