Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Variables in RITM and SC task

nameisnani
Mega Sage

Hi Team ,

 

can anyone please help here , 

 

 I have built a catalog and i am preforming testing , and I have submitted a request with below variables.

 

nameisnani_0-1709799405221.png

 

But while checking platform level some fields are populating .

 

nameisnani_1-1709799484201.png

 

  

Same in SCTASK .

nameisnani_2-1709799566121.png

 

 

There is an UI policy i have written 

nameisnani_3-1709799618968.png

 

Variables also i have added in workflow 

nameisnani_4-1709799679539.png

 

can anyone please help me here ,  please provide how to resolve this .

 

@shyamkumar VK 

1 ACCEPTED SOLUTION

@nameisnani , I see Sdass role is mandatory is it from UI policy?

Can you show the UI policy config for this?

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

View solution in original post

16 REPLIES 16

Yes @Harish KM  it is mandatory only.

Hi @nameisnani then you have to uncheck it, since your making mandatory in UI policy, dont set it mandatory on variable level,

Regards
Harish

@Harish KM 

 

So u mean to say I have to remove mandatory from variable level. 

Please correct me if I worng 

Hi @nameisnani yes remove mandatory from variable level

Regards
Harish

@nameisnani  , guess your Making Variable Mandate both From Variable level & By UI Policy 

 

Remove Mandatory from Variable Level and give a try 

 

Regards,

Shyamkumar

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar