bbf3562
Kilo Guru

Hi Hannah,

Is the variable Yes/No is created in catalog item but as hidden that will only show in catalog task under Requested Item Variables tab for fulfiller to select yes or no? If yes, then you can pre-select that variable ahead even though it is hidden in catalog form. You can do that in Set Variable Values step. When it gets to the catalog task, it will automatically go to "Yes" workflow or "No" workflow because of pre-selected. If the custom variable doesn't create in catalog item but create in catalog task, then you can do Set Field Values step in task form to select Yes or No. I hope that helped!

Thank you for the input. Yes, it is from the catalog item. I have tried using the Set Variable Values step but it doesn't do anything to any of the variables even the ones that aren't hidden on the catalog item...

In Set Variable Values step right after Open a Catalog Item step, were you able to select a hidden variable name and pick Yes or No? Also, did you monitor on ATF test runner to see at task form if it selected Yes or No?

Yes I was able to select the variable and set it to Yes. When I monitor the ATF test runner it is not selecting Yes or any of the values I put in the Set Variable Values step. It is not working for all variables, not just this one.

Abdul30
Kilo Contributor

Hi Hannah, I believe you should be able to do this by using one of the following OOTB steps: 

  1. Products -> Variable State Validation: This step can be used to check the state of the variable such as (mandatory, visible, read-only, etc..)
  2. Products -> Validate Variable Values: This step can be used to validate the actual value that was selected within that variable.
  3. Products -> Set Variable Values: This step will populate a variable with a value. 

You have to make sure the task/form is first opened, then you can validate the variables. I hope this helps.

Thanks

---

Please mark my answer as correct if it has helped you. Thanks!