We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Variables are not appearing on the SC Task.

harikakambh
Giga Contributor

Hi Team,

 

The variables are not appearing on the SC Task. I have already added the Variable Editor section through the form layout, but the variables are still not visible.

If I mark the variables as Global = true, then they appear on the SC Task, but I do not want to enable the global option. I need the variables to be visible on the SC Task without making them global.

 

Could you please help me with this?

 

Thank you.

5 REPLIES 5

Swapna Abburi
Giga Sage

Hi @harikakambh 

You need to update Global to true in the variable to display them across all relevant forms, including SC Task. 

Is there any specific reason to uncheck global visibility?

Tanushree Maiti
Giga Sage

Hi @harikakambh 

 

Create Catalog UI Policy with UI Policy Action to display that variable in SC_task. 

Check 'Applies on Catalog Task'

TanushreeMaiti_0-1772820859494.png

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Santhana Rajhan
Mega Sage

Can you share a screenshot if the variables tab?

Also are you using the old workflow editor? If yes, they you'll need to select the variables in Add Variables section in create task activity. It will be in the last section down below

Add variables in Catalog task activity.png

AnirudhKumar
Mega Sage

If you are using a Flow Designer to run your catalog item, in the Create Catalog Task action, you need to add your item variables

 

catalogtask.jpg