mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
User: alex@sartography.com clicked save for misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn
This commit is contained in:
parent
caec9946cb
commit
cb8a5112d1
@ -380,8 +380,11 @@
|
||||
departments = departments_and_divisions.get("Department", [])
|
||||
divisions = departments_and_divisions.get("Division", [])
|
||||
|
||||
dept_list = [x["name"] for x in departments]
|
||||
dept_enum_list = [{"label": x, "value": x} for x in dept_list]
|
||||
dept_list = [{"id": x["id"], "name": x["name"]} for x in departments]
|
||||
dept_enum_list = [{"label": y["name"], "value": y["id"]} for y in dept_list]
|
||||
|
||||
# dept_list = [x["name"] for x in departments]
|
||||
# dept_enum_list = [{"label": x, "value": x} for x in dept_list]
|
||||
|
||||
del(departments_and_divisions)
|
||||
del(bamboo_list_metadata)</bpmn:script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user