Display Variables on Specific Task

Hemant Ch
Tera Expert

Hello 

 

I want to show specific variables on the Catalog Task, The variable should be hidden for another task and RITM  in workflow, had a generic solution based on a Onload client script -short description Which I don't want to proceed 

 

The variable should become mandatory when we try to close the task with the ui action "Close Task"

'

Please suggest some good solution 

 

@Ankur Bawiskar @Voona Rohila 

1 ACCEPTED SOLUTION

@Hemant Ch 

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

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Hemant Ch ,

 

Will that variable be a part of any catalog item or we need to create that variable on the task table?

 

Thanks,

Danish

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Hemant Ch 

the only way is to use onLoad client script and determine the task is 2nd or 1st

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

Hello @Ankur Bawiskar 

 

How to Determine the task is 2nd or 1st?, Five tasks are creating at a time from Workflow

One sort of unique identifier would be combination of catalog task name(short description) and catalog name to identify which task it is. So you need to use them onLoad client script and can achieve this.