Set default value of Request Catalog Yes/No Variable

ddzhang
Tera Contributor

I'm trying to set the default value of a Yes/No variable field in my RITM to be "Yes", but for some reason it will always default to "No." It will successfully default to "Yes" in the request form, but not in the RITM itself.

 

I've tried setting the default value to "Yes", "yes", and "true".

 

ddzhang_0-1753711603801.png

 

ddzhang_1-1753711647601.png

 

1 ACCEPTED SOLUTION

GlideFather
Tera Patron

Hi @ddzhang 

 

please attach your screenshot using the clip icon, don't copy paste them here, there is ongoing Coommunity moderation of content making it invisible.

I have tried in my end - when I just created the variable, the Yes was a default value on default:

KamilT_0-1753735901737.png

 

When I wrote "No" to default value, it was that option populated on default:

KamilT_1-1753735931202.png

 

Alternatively, you can check the "Include none" option which will add a --None-- as default which is my personal favourite, the end user then must select and cannot skip (as long as it is set mandatory):

KamilT_2-1753736025988.png

 

If you have empty or "Yes" in the default value and the Yes is not the default value, then check the choices of that variable.

 

It might not be the Yes/No type but the choice instead and choice values Yes or No, in that case check the related tab below of that variable. Review the values, check the name (not label) and make this the default value. If it is a non-Yes/No then these values can be anything 0 or 1 (ev 1 or 2)..... 

Let me know if that helped you.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


View solution in original post

7 REPLIES 7

GlideFather
Tera Patron

Hi @ddzhang 

 

please attach your screenshot using the clip icon, don't copy paste them here, there is ongoing Coommunity moderation of content making it invisible.

I have tried in my end - when I just created the variable, the Yes was a default value on default:

KamilT_0-1753735901737.png

 

When I wrote "No" to default value, it was that option populated on default:

KamilT_1-1753735931202.png

 

Alternatively, you can check the "Include none" option which will add a --None-- as default which is my personal favourite, the end user then must select and cannot skip (as long as it is set mandatory):

KamilT_2-1753736025988.png

 

If you have empty or "Yes" in the default value and the Yes is not the default value, then check the choices of that variable.

 

It might not be the Yes/No type but the choice instead and choice values Yes or No, in that case check the related tab below of that variable. Review the values, check the name (not label) and make this the default value. If it is a non-Yes/No then these values can be anything 0 or 1 (ev 1 or 2)..... 

Let me know if that helped you.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @ddzhang 

any chance you tried my solution?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Thanks for your reply! I ended up just including the --None--, just like you suggested.