From c756a5b860b7dc4eed1717386e72cc57dbafb5de Mon Sep 17 00:00:00 2001 From: demo Date: Fri, 21 Oct 2022 00:48:28 +0000 Subject: [PATCH] User: alex clicked save for shared/enumerations/enumerations.bpmn --- shared/enumerations/enumerations.bpmn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/enumerations/enumerations.bpmn b/shared/enumerations/enumerations.bpmn index 14478749..4d8b8cae 100644 --- a/shared/enumerations/enumerations.bpmn +++ b/shared/enumerations/enumerations.bpmn @@ -74,7 +74,9 @@ for n in range(0, enumerations_items_list_cnt): Flow_0jcctpu Flow_0322grc if whichEnum == "add": - addSubject = "Enumeration" + addSubject = "Enumeration" +else: + addSubject = next(filter(lambda d: d['value'] == whichEnum, enumerations_list))['label']