How to assign the catalog task assignment group to different assignment groups.

dhineshkumar
Tera Guru

I have the catalog item form, There user select multiple groups(check boxes) based on the groups I need to creates the catalog task assignment groups. How to achieve this task using workflow.

3 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use advanced script in Catalog Task Activity

if(current.variables.group1Checkbox == true)
	task.assignment_group = 'group1SysId';
else if(current.variables.group2Checkbox == true)
	task.assignment_group = 'group12ysId';

Regards
Ankur

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

View solution in original post

Hi,

For your further question you can use onChange client script on that cost variable and then append the $ to it

Regards
Ankur

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

View solution in original post

@dhineshkumar 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

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

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use advanced script in Catalog Task Activity

if(current.variables.group1Checkbox == true)
	task.assignment_group = 'group1SysId';
else if(current.variables.group2Checkbox == true)
	task.assignment_group = 'group12ysId';

Regards
Ankur

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

Hi Ankur 

Thanks for help.  and I have another requirement I have one catalog item form and have the cost field. When user enter any number on the field ir should convert as currency. 

Example : id user enter 36547 convert as $36,547.00 

How to do with onchange client script, Please provide me exact script, variable name is "cost".

 

Greately Appreciate.

@dhineshkumar 

Did I answer your original question around task assignment?

Please mark my response as correct and helpful to close the thread.

Regards
Ankur

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

Hi,

For your further question you can use onChange client script on that cost variable and then append the $ to it

Regards
Ankur

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