Dynamic Approval & Fulfillment Based on Category and Application Name

nameisnani
Mega Sage
We have a catalog item with the following fields:
 
  • Related Category (Mandatory) – Choice field with values:
    • Collaboration and Communication
    • Cyber Security Services
    • Hardware
    • Infrastructure
    • Software
  • Application Name – Reference field to the Business Application table

Current Behavior

When both fields are selected:
Example:
  • Related Category = Hardware
  • Application Name = ServiceNow Production
Flow:
  1. Line Manager Approval
  2. Hardware Group Owner Approval
  3. Application Support Group Approval (based on Application Name)
  4. Catalog Task is created for ServiceNow Production Support Group
This is working as expected.

New Requirement

If:
  • Related Category is selected
  • Application Name is NOT selected (empty)
Then after:
  1. Line Manager Approval
  2. Category-based Group Owner Approval
The request should route to default fulfillment groups based on category, as below:
 
 
Related Category Default Fulfillment Group
Collaboration and CommunicationInfrastructure-SUP
Cyber Security ServicesCyberSecurity_Tools-SUP
HardwareTechHub-SUP
InfrastructureTechHub-SUP
SoftwareSUP
nameisnani_0-1781840972144.pngnameisnani_1-1781841382317.png

 

 

can anyone please help me in scrpit

0 REPLIES 0