Closed calexh-sar closed 2 years ago
This was fixed within some iteration of enum refactors. Documenting that the correct way to do this is hide_expression
should be set to StaffTraining == "No" or not StaffTraining
in this specific case. Generally, to use a hide_expression on page load, it should be set to not Variable
An example of this is in the IDS Approval workflow in the Enter Staff Training User Task. The StaffTrainingDetails text files should be hidden if the StaffTraining enum is blank, i.e., no selection made, or No is selected. Before the enum refactor,
StaffTraining.value != "No" or StaffTraining.value == None
worked. Now,StaffTraining != "No" or StaffTraining == None
does not work. theStaffTraining != "No"
part does work, but theStaffTraining == None
does not.