We Need Create Workflow For Manager Approval, Like We two Variables Requested by And Requested For

Jagadees22
Tera Contributor

We Need Create Workflow For Manager Approval, Like We two Variables Requested by And Requested For, User Select Requested For, Requested For Manager Get Approval, User Select Requested by, Requested by Manager Get Approval For Catalog Item. 

Jagadees22
8 REPLIES 8

Viraj Hudlikar
Giga Sage

Hello @Jagadees22 

I am not sure why over catalog item you have two fields [Requested for & Requested by] and asking for both fields manager approval? Usually, it will be requested for manager approval is asked. 

Nevertheless, if we go with your requirement your workflow pseudocode outline for the ServiceNow workflow to handle manager approvals based on the "Requested by" and "Requested For" variables:

 

  1. Initialize Workflow:

    • Start Workflow
  2. Check Requested For:

    • If Requested For is not empty:
      • Retrieve the manager of the Requested For user
      • Assign the manager as the approver
      • Send approval request to the manager of Requested For
  3. Check Requested by:

    • If Requested by is not empty:
      • Retrieve the manager of the Requested by user
      • Assign the manager as the approver
      • Send approval request to the manager of Requested by
  4. Approval Process:

    • Wait for approval response (this will be joined activity)
    • If approved:
      • Proceed with the next steps in the workflow as per your requirement.
    • If rejected:
      • End workflow with rejection status
  5. End Workflow:

    • Complete the workflow

 

Now give a try on workflow by putting activities and let us know if any blocker or any technical challenge by sharing screenshot if possible, we there to help you 😊

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

Thanks & Regards
Viraj Hudlikar.

thank You So Much For Reply to Me

Jagadees22

Hello @Jagadees22 

 

Did my reply answered your question or helped you with issue. If yes do hit helpful button and mark appropriate correct answer to close this thread.

 

Thanks & Regards,

Viraj Hudlikar.

Hi @Viraj Hudlikar 

thanks Your Help Please tell Me Which Activities Are Using In these Workflow

 

thanks & Regards,

Jagadees22