Approval flow is skipped

alberttagle
Tera Contributor

My goal is to get approval from 2 users on separate reference variables on the catalog item.

Can anyone tell me what's wrong with this workflow activity? When I run it, it always skips the approval.

find_real_file.png

 

1 ACCEPTED SOLUTION

12 line should be

answer.push(approver1);

13 line

answer.push(approver2);


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

View solution in original post

10 REPLIES 10

Prateek kumar
Mega Sage

make approver1= current.variables.source_delegate_owner.toString();

and same for approver2


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Still skipped...

find_real_file.png

find_real_file.png

12 line should be

answer.push(approver1);

13 line

answer.push(approver2);


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Jaspal Singh
Mega Patron
Mega Patron

Hi Albert,

 

Since its already a variable you need to pass quotes('').

Use below,

answer.push(approver1);

answer.push(approver2);