Need Help in the Workflow

nameisnani
Giga Sage

Hi Team , 

 

I have a requirement in one of the catalog item . 

 

There is one catalog item,'xyz.'' In that we have 2 fields , 

 

 

When ever ' Related catgory ' ( Select box )is selected = Applications

And ' Application Name '  ( Reference field ) is selected = ServiceNow Production . After Line Manager approval it should goes to ServiceOwner approval . It should happen only when this conditions matches.

 

Note :- Here 'applcation name' field is reference field . 

 

Note :- Apart from Servicenow production selected in Application name , it should not ask for Service owner approval .

 

If I use Switch it is not working .

 

nameisnani_0-1724900064746.png

nameisnani_1-1724900287411.png

 

can anyone please help me with this request . How to fullfill this condtions .

 

Please provide screenshots for this configurations .

 

@Ravi Gaurav 

7 REPLIES 7

sejal1107
Tera Guru

hi,

Instead of switch can you try with if loop with condition as 

'Related catgory ' ( Select box )= Applications

And ' Application Name '  ( Reference field )= ServiceNow Production 

On the answer as  Yes you can add Line Manager approval and then ServiceOwner approval .

On the answer as No you can add Line Manager approval

@sejal1107 

 

could you please provide me the screenshots of the configuration for better understanding.

Ravi Gaurav
Giga Sage

Hi @nameisnani 
Below image will help you like shown if "windows 123" is selected then only it will go for approval

RaviGaurav_0-1724919638101.png

 

@Ravi Gaurav 

 

nameisnani_0-1724920297499.png

 

 

Application name is referring to is ' cmdb_ci_service' .

nameisnani_1-1724920616525.pngWhen I open ' ServiceNow Production'  table name shows 'cmdb_ci_service' .

nameisnani_2-1724920761657.png

 

 

 

My requirement is 

 

When ever 

Related category ' Application '  selected 

Application name ' ServiceNow Production'  selected

 

Once request submitted , 

 

After Line Manager approval , >>> Second level approval should be trigger to >> ServiceOwner approval (CFS_SNowSO_APR) .>>>> After this catalog task .

 

@sejal1107 @Ravi Gaurav 

 

Please help me with this configuration , any script ?