Enumerations:
-----------------
| value | label |
|-----|------|
{% for enumeration in enumerations.Items %}
| {{value}} | {{label}} |
{% endfor %}
whichSubject = "Enumeration"
addNew = True
Flow_07a2oxo
Flow_1nenbjs
Flow_1vvnsbc
Flow_0otubfa
Flow_1vvnsbc
Flow_0d8570g
Flow_0d8570g
Flow_06nsc7t
Flow_0i6hbp9
Flow_0i6hbp9
Flow_1xbvsd3
if whichEnum == "add":
addSubject = "Enumeration"
else:
matched = [ d for d in enumerations_list if d.get('value') == whichEnum ]
addSubject = matched[0]['label'] if matched else None
Flow_1w2k8v1
Flow_0lpik93
Flow_17i0vic
Flow_07a2oxo
Flow_1yld5u8
Flow_06nsc7t
Flow_1u6l44m
Flow_17i0vic
Flow_1w2k8v1
Flow_1euuoyf
whatNext == "Exit"
whatNext == "Add another enum for the same subject"
Flow_137swmd
Flow_0otubfa
Flow_1nenbjs
whatNext == "Add an enum for another subject"
Flow_1euuoyf
Flow_1yld5u8
addValue = ""
addLabel = ""
Flow_1u6l44m
Flow_137swmd
addSubject = ""
Flow_1xbvsd3
Flow_0lpik93