copy previous assessment response to new assessment if manager rejects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 09:19 AM
HI ,
I have created a flow where in it loops through until the action task is closed completed. In this flow the initial assessment goes to responder and once the responder submits the assessment, it goes to the manager approval, if manager approves it moved to the next step. Now if the manager rejects the approval, I'm creating a new assessment record for responder, and at this moment I need to copy the previously submitted assessment response to the newly created assessment. Plz suggest how to do this.
Regards,
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 03:54 AM - edited 04-23-2024 03:54 AM
@Community Alums , @Ankur Bawiskar
Any help on how to do this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 04:52 AM
1) You need to Glide Record with previous assessment sysID
2) And In if(gr.next()) {
gr.insert()
} -> This will create copy of previous assessment