How to Add Instruction and Grouped Variables on Catalog Task Form (Variables Section)

Pratiksha KC
Tera Guru

1. How to add instruction to variables section on the Catalog Task
I would like to see the below instructions to the fulfiller (in color Hex=#ae0055):
Information to Service Desk – this task is only intended to build the workflow
Ensure that you answer the questions below and once done, please update the state of this task accordingly:
In case this request must be continued -> close this task in CLOSE COMPLETE state to continue the workflow.
In case this request must be cancelled / rejected -> close this task in CLOSE INCOMPLETE state to cancel the workflow and provide the reason to Requester in Additional comments field.

PratikshaKC_0-1751913830463.png

 

2. Below variables from the form, still in Variables section on Catalog Task I would like to 2 sections(This variables are not on catalog item) – first one where I can select the number of approvals and who they should be generated to, and second section where I can select tasks needed to fulfill the request.

PratikshaKC_1-1751913868968.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Pratiksha KC 

for the 1st requirement you can use HTML type variable and add instructions there

hide this variable on catalog form and RITM using UI policy and show only on catalog task

didn't understand the 2nd requirement clearly

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

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Pratiksha KC 

for the 1st requirement you can use HTML type variable and add instructions there

hide this variable on catalog form and RITM using UI policy and show only on catalog task

didn't understand the 2nd requirement clearly

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 

 

1. First requirement worked but we have Question field mandatory, we don't wants to show the question at top. I'll attach the screenshots for reference 

PratikshaKC_0-1751966528015.png

added the value in default value tab-

PratikshaKC_1-1751966564203.png

 

@Pratiksha KC 

then try this

1) Give some question, using background script clear that question field

OR

2) Use Variable of Type "Custom" and add your HTML in widget and link that widget to this variable

Then it won't show that heading for variable

AnkurBawiskar_0-1751966967110.png

 

Output: no variable heading/label

AnkurBawiskar_1-1751967039570.png

 

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

Thanks @Ankur Bawiskar 

 

About second requirement, We have to show another variable section below our first variable section as shown in first requirement. 

But We don't have that variables created in Catalog Item or Portal. 

I'll Add screenshot for reference. 

 

PratikshaKC_0-1751972834351.jpg

Now This section should be editable for fulfiller to add the information on this section. 

How can we achieve this requirement?