how to send a approval to particular manager

sekhar6
Tera Contributor

Hai all,

i have a Requirement ,

how to send a approval in service catalog , there is no manager field in the custom table . 

i have name field in a custom table ,if select some user ,then the  approval should go to a particular manager based on the name field .

please help me on this.

Thank you.

7 REPLIES 7

Aman Kumar S
Kilo Patron

Hey,

Few questions here:

1. What are the fields on the catalog item

2. How it is related to your custom table

3. Will the manager be same as User's manager that is on sys_user table?

Best Regards
Aman Kumar

Hai,

i have created one service catalog item, in that catalog item i have one variable is name (reference) , if any one select the user in the name variable approval goes to that user manager.

 

manager variable is not there in the catalog item ,how to send approval to user manager using work flow.

Got it, Thanks for sharing

You can add one workflow activity in the workflow - Approver - User

Click Advanced = TRUE

var answer = [];

var approver = current.variables.name.manager.toString();

answer.push(approver);

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

Hey,

Is your query resolved?

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar