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-28-2023 06:55 AM - edited 07-31-2023 03:19 AM
@piyushsain Thanks for your answer . I will try your solution thank you very much for your valuable time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 11:23 PM
@piyushsain
Sorry for the long reply. I tried the solution you proposed but it didn't worked for me. Can you please check and let me know what wrong I did with the below code. Approval records are not copying to the new change record. You need to create a field in Change request which can be hidden and read only , for example "u_copy_from". I didn't tried this but insted I written the server side script in UI action it self. If possible can you please check the below code where is my mistake.
==========================