Need Help in the Workflow

nameisnani
Mega 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

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan

@sejal1107 

 

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

Ravi Gaurav
Giga Sage
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

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

@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 ?