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

Allen Andreas
Administrator
Administrator

Hi,

You're close, but the syntax is wrong, that's the problem.

As long as these are reference variables to the sys_user table, then you can reference Jaspal's post above mine for solution.

Please mark reply as Helpful, if applicable. Thanks!

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

alberttagle
Tera Contributor

Thanks, all! it works now. 🙂

Awesome, great work!

Please mark any other reply as Helpful, if it was and the Correct answer as Correct.

Take care!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Great to know.

Hope, my comments were detailed enough for getting an understanding the reason for the non-functioning.

Hi,

I think you may have a typo, but I knew what you meant (but you had edited your reply after I said to reference your post, haha, so now it looks like we're both wrong...). You said: 

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

I'm sure you meant, you DON'T need to pass the quotes.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!