Can Enumeration values be changed based on condition
I have Enum variable which has values a,b,c. Based on certain condition i have to set value 'b' to the enum variable. Is it possible with enumeration? If so, what should I mention in change object?
You can use expressions to determine which value you whish to set. Here is an example:
else if($Dag='2')then Dossiers.Enum_B
else if($Dag='3')then Dossiers.Enum_C
else if($Dag='31')then Dossiers.Enum_D