Skip to Content
1
May 11, 2020 at 03:39 PM

Decision for Usertask

258 Views

Dear Experts!

I created a user task, using a script taken from there:

https://help.sap.com/viewer/fd39efd120a74b37a1acca61d63bacaf/Cloud/en-US/254ce53455694e01a9f7bf636351ec3f.html?q=decision

$.context.usertask1 ={  
         action:{  
            approve:{text:"Approve Changes",type:"Approve"},reject:{text:"Reject",type:"Reject"}}};

Now I need to see a result. ${usertasks.usertask1.last.decision} unfortunately doesn't work here. What property do I need to use?

Thanks a lot!

Yulia.