In the RITM We have catalog Task in which we need to make variable true

MG_Azam
Tera Contributor

Hi Community,

need your expertise

In the RITM We have a catalog Task in which we need to make variable true

And variable name is "u_send_to_requestor" 

I have tried a script in the workflow, but it's not working.

MicrosoftTeams-image.png

6 REPLIES 6

AshishKM
Kilo Patron
Kilo Patron

Hi @MG_Azam ,

So you need this variable on SCTASK with default checked

This is a variable of type check box and all you need to set the default value to true on the variable, else share the more details along with your script code. 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Danish Bhairag2
Tera Sage
Tera Sage

Hi @MG_Azam ,

 

As ashish said u can make the default value true if there is no criteria of it becoming true or false.

  • This u can achieve by going to that variable n under that there will be default value tab just enter true over there. It will become checked by default.

But if there is some criteria when it is suppose to happen then we would require to see what u have already done.

 

Thanks,

Danish

 

@AshishKM @Danish Bhairag2 , sure let me find the script and share, and can you help with a standard script for doing the same

Hi @MG_Azam ,

 

Is that variable created on sc_task table or is it a catalog item variable ?

Can u share pic of ur task record where this variable is present. Accordingly will share the script.

 

Thanks,

Danish