one variable has more than 40 choices keeps on increasing day by day i have done with workflow

srikriti
Tera Contributor

Hi All,

In catalog item there is an variable "Select the group" has 30+choices there is a chances adding more choices further also 
Requirement is that for every choice selection there will be an separate approval group approval should be trigger in the workflow how should be do it 
i am new to the workflow please guide me on this

Thanks

1 ACCEPTED SOLUTION

@srikriti 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

@srikriti 

better to store this as custom table, easy for maintenance going forward

Then have this as reference variable in your catalog item

This table will have 2 fields

1) Name

2) Group - group to which approval will be sent

Flow designer:

1) Use "Get catalog variables" flow action

2) in ask for approval you can dot walk to the group field from this table

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@srikriti 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

Yes i will make custom table.
name i have requirement on approval users every choice selection more than four approvers are there
in that scenario how the custom table should be create? and also in the workflow how should proceed could please help me on that i am new to this

Thanks

 

@srikriti 

I already informed about. that custom table will have 2 fields

1) Name

2) Approvers - reference to sys_user

If you want to add group then create 1 more field of type list and add groups there

Then in catalog item let user select 1 record from this table via reference variable

Then in flow designer ask for approval you can pick the approver or approval group from that selected variable

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Anukur,

created a custom table but on catalog form on portal side showing preview button 
I donot want preview button here may i know is it possible

srikriti_0-1738838316178.png