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

shyamkumar VK
Kilo Patron

@nameisnani , Can you Uncheck the Reverse if false in the UI Policy and give a try?

 

Regards,

Shyamkumar

 

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

Shyamkumar

nameisnani
Mega Sage

Hi @shyamkumar VK @Harish KM  

 

I have changed mandatory to false from variable level

nameisnani_0-1709825670065.png

 

Still same issue 

nameisnani_1-1709825743030.png

 

 

@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

Hi @shyamkumar VK 

 

I have written 2 UI polciies 

 

nameisnani_0-1709826016757.pngnameisnani_1-1709826069423.pngnameisnani_2-1709826090520.png

 

 

For AFS also same issue 

 

nameisnani_3-1709826141133.png

 

Hi @nameisnani did you also uncheck Apply on RITM , Apply on task from UI Policy? then it should work for you

HarishKM_0-1709866401315.png

 

Regards
Harish