- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 07:07 AM
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".
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 01:56 PM
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:
When I wrote "No" to default value, it was that option populated on default:
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):
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! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:28 AM
I can't see your attachments. If you set the value to 'Yes' on the request form, does it remain 'Yes' when the RITM is displayed? Are you including None, so if you don't select anything on the request form, what value is displayed on the request form, then the RITM? The correct value to use is "Yes". Do you have any Catalog Client Scripts or Catalog UI Policies that are affecting this variable at the RITM level?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:45 AM
I'm currently not including the "None" option, and I've checked my Catalog Client Scripts and Catalog UI Policies. If I don't select anything, the default value being displayed when opening a new RITM is "No".
I'm not too sure what you mean by setting the value to 'Yes' on the request form, for my use case I will only be entering values in the RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 03:05 PM
And what is that variable type: is it yes/no or choice?
please attach your screenshots using clip icon, they’re and will not be displayed and they could help to understand it better
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:46 AM