how to give the approvals for requestor's manager

stillwater
Kilo Contributor

how to give requestors manager

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Are you simply looking to get someone's manager to approve something? That can be done just be "dot-walking" in the approval "User" field.



${requested_for.manager}



for example.


View solution in original post

4 REPLIES 4

snehabinani26
Tera Guru

Hi manjunath,



Where are you trying to achieve it via script or Approval activity in Workflow


Chuck Tomasi
Tera Patron

Are you simply looking to get someone's manager to approve something? That can be done just be "dot-walking" in the approval "User" field.



${requested_for.manager}



for example.


Alikutty A
Tera Sage

If you are trying to add an approval for requester's manager in a workflow, just add this line the workflow approval-user activity script



var answer = [];


answer.push(current.variables.requester.manager);   //Assuming requester is a variable on your catalog item



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


AK67
Tera Contributor

Correct..... thank you