copy previous assessment response to new assessment if manager rejects

Sagar S
Tera Contributor

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

2 REPLIES 2

Sagar S
Tera Contributor

@Community Alums , @Ankur Bawiskar 

Any help on how to do this ?

Nikhil Soni 007
Giga Guru

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