Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Help with Service Catalog

Abhijit Das7
Tera Expert

Hi Everyone,

 

I have created a catalog item, which has one question called 'Select Software'. Select Software is a dropdown field with names of 5 software.

 

I have to create a flow using flow designer or workflow editor. Based on the software selected it should go to the particular group for approval. All 5 softwares should have different 5 groups for approval. For example, if I select software 1 it should go to Group 1 for approval , if I select software 2 it should go to group 2 for approval , if I select software 3 then it should go to group 3 for approval etc.

 

And atleast two people should reject it from a group for request to get rejected.

 

Please suggest something.

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron
Kilo Patron

HI @Abhijit Das7 use flow designer, with below actions

1. Get catalog variables

2. use if condition to compare software choices

if Software selected is choice 1

HarishKM_1-1711942314101.png

 

then 3. ask for approval. select the group use when to reject 2 #approvers as highlighted in below screenshot

HarishKM_2-1711942341810.png

again use if condition to check if software selected is choice 2

HarishKM_3-1711942371289.png

Link :https://docs.servicenow.com/bundle/washingtondc-build-workflows/page/administer/flow-designer/refere...

 

Regards
Harish

View solution in original post

4 REPLIES 4

Harish KM
Kilo Patron
Kilo Patron

HI @Abhijit Das7 use flow designer, with below actions

1. Get catalog variables

2. use if condition to compare software choices

if Software selected is choice 1

HarishKM_1-1711942314101.png

 

then 3. ask for approval. select the group use when to reject 2 #approvers as highlighted in below screenshot

HarishKM_2-1711942341810.png

again use if condition to check if software selected is choice 2

HarishKM_3-1711942371289.png

Link :https://docs.servicenow.com/bundle/washingtondc-build-workflows/page/administer/flow-designer/refere...

 

Regards
Harish

Hi @Harish KM 

 

I have created flow in workflow editor. There I want to create a condition that atleast two users from group should reject it .

Can you suggest in workflow editor.

 

And if I am working with flow designer how can assign Software 1 choice to Group 1. That is not happening.

 

Thanks

Tai Vu
Kilo Patron
Kilo Patron

Hi @Abhijit Das7 

"Based on the software selected it should go to the particular group for approval."

You can utilize the Decision Tables to build the approval decision.

Platform Academy Session #10: Getting Started with Decision Builder

Screenshot 2024-04-01 at 10.52.41.png

 

"At least two people should reject it from a group for request to get rejected."

You can configure this rule within the Ask for Approval action

Screenshot 2024-04-01 at 10.48.35.png

 

Cheers,

Tai Vu

Hi @Tai Vu 

 

Can I develop something like above in workflow editor. I am working on workflow editor and I want atlast two members of group to reject it

 

Thanks