Copy all approvers records of change when click Copy Change UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 11:48 PM
Hi Team,
Need your help, when I click on "copy change" UI action then I needs to copy all the approvers records from the main change record. Please help me out how can I achieve this. Your help is much appreciated.
Regards,
Hemagiri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 02:54 AM
Hi This is not possible as Copy Change works on the UI side and not server, it copies all the field values. I f you still want to do it please try with gsftSubmit, and try to copy all the approves from current to new record
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 05:46 AM - edited 07-31-2023 03:20 AM
@piyushsain Thanks for your reply. If possible can you please help me how we can try with gsftSubmit. Currently we are copying all filed values via script include by calling the system properties as below.
===================================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 08:48 AM
Hi,
I have found a method for you.
You need to create a field in Change request which can be hidden and read only , for example "u_copy_from".
The in Copy Change UI action add the highlighted line , to add the "u_copy_from" in the query.
Now when you will click copy change the sys_id of the record will be saved in the field(u_copy_from).
Now create a after insert BR and attach the approvers by Glide Recording the approver table and using the "u_copy_from" sys_id.
Hope this helps you 🙂
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 12:48 AM
@Hemagiri B please let me know if this solves your issue
Regards,
Piyush Sain