yes/no variables values in flow designer

Tim Saunders
Tera Guru

We have a catalog item with a variable of type Yes/No with None; when the form loads in the portal the value is None, forcing the user to select either Yes or No (value is mandatory). We are trying to automate the submission of this form in Flow Designer but the variable appears as a checkbox with no way to select "None", so I either need to make the field optional or set the value equal to Yes, since an unchecked box is interpreted as no value, not "None". Is there a way around this?

 

While I'm here... is there any way to refresh the variable on a catalog item in flow designer without deselecting it, then selecting it again, which wipes out any data pill mapping that has already been done? If I need to change the variable to be optional I would prefer not to have to map all variables again.

6 REPLIES 6

AnirudhKumar
Mega Sage
Mega Sage

Hello Tim,

I'm not getting it. Are you raising your catalog item request wholly from the backend or does a user manually fills the form and raises the request?

Hitoshi Ozawa
Giga Sage
Giga Sage

Sorry, not understanding the question.

>value is mandatory

If the value is mandatory, either Yes or No would be selected.

>We are trying to automate the submission of this form in Flow Designer but the variable appears as a checkbox with no way to select "None"

If the field is mandatory, value would be Yes or No and never "None".

If the question is on how to make the field mandatory, just check the "Mandatory" checkbox when defining the variable. There's no need to check it in Flow Designer.

find_real_file.png

The catalog item was originally created to allow users to enter information manually however we have discovered a use case where automating form completion is desired. The problem is that Flow Designer displays Yes/No variables as a checkbox, which would be tolerable if we hadn't added a "None" value (intended to make the user select one or the other without defaulting to No). With the "None" value selected the Yes/No field is essentially a select box with 3 choices "None", "Yes", and "No" but Flow Designer doesn't see(show) it that way so there's no way to set the value to None and make the user select a value after the RITM is created (the field is not intended to be automated).

ShAn21
Tera Guru

Hi Tim,

Did you find any solution for this? I am also facing the same issue..

For now what I can think of is to convert yes/no variable to select box and add options as yes/no along with none.

 

Thanks