For user's Department is IT, auto-approve the Laptop Request

tabjularyan
Kilo Contributor
If the Requested For user's Department is IT, auto-approve the Laptop Request; otherwise send it for Manager Approval.
2 REPLIES 2

Shaqeel
Mega Sage

Hi @tabjularyan 

 

You can achieve it using Flow Designer.

Set trigger:

Service Catalog-->Requested Item created.

Filter: Catalog Item= Laptop Request.

Add flow logic:

var requestedFor = fd_data.trigger.requested_for;

if (requestedFor.department.getDisplayValue() == 'IT') {
    return true;  // Auto-approve
}
return false;     // Manager approval

Hemanth M
Tera Sage

Hi @tabjularyan ,

 

Add this if block in your Laptop request flow

HemanthM_1-1795524892567.png

 

 

 

Thank you,
Hemanth
CTA, ServiceNow MVP.