StartEvent_1 Activity_0h7r2xf Gateway_1bliz64 Activity_1j9ksd0 Event_1or7z59 Activity_0fxkugq Gateway_16bj0wn Activity_02qvs11 Gateway_0cvlh16 Gateway_1or3epy Event_1kjub5y Event_0jup8rs Activity_0np7jlr Activity_0649vw3 Gateway_1aisfqv Gateway_0vza3va Event_1a53lvz Event_092hc6t Activity_02y3rqp Activity_1vdzcey Gateway_1mqikfu Gateway_1pmg5mn Event_0lq4h7d Event_0t2z9gc Activity_0ht3rzf Flow_00a8mkg Flow_11tuj8a Flow_1a3uikk Flow_1a3uikk Flow_12x4km2 Flow_14bzyyu Flow_065h60y Flow_00a8mkg Flow_11tuj8a DataObjectReference_1t4ej9y DataObjectReference_1194m91 # Set inital approver state is_approval = {} is_approval["approver1"] = False is_approval["approver2"] = False is_approval["approver3"] = False # Set approver count approval_cnt = 0 # Set Project Lead Lane Permission lane_owners = { "Approver1": ["nelson@spiffworkflow.org"], "Approver2": ["malala@spiffworkflow.org"], "Approver3": ["oskar@spiffworkflow.org"] } Flow_12x4km2 Flow_069391w Flow_1cmqfcg Flow_14bzyyu Flow_1ps311c Flow_1i7dm9k Flow_065h60y Flow_0lsgj5x Flow_09u1ht0 Flow_0c7ey0f Flow_14snynn Flow_1upwobg gateway_approval_cnt == 2 Flow_1i7dm9k Flow_15f0tui Flow_1upwobg Flow_08ph8re Flow_14snynn Flow_15f0tui Flow_1199vyt Nelson: {{ is_approval["approver1"] }} Malala: {{ is_approval["approver2"] }} Oskar: {{ is_approval["approver3"] }} Approval Count: {{ approval_cnt }} Flow_1l44yik Flow_1199vyt DataObjectReference_0v1o873 Property_02r2slo DataObjectReference_1e9dqri Property_02r2slo Flow_08ph8re Flow_0fb9qhu Flow_058zuib Flow_1l44yik Flow_09u1ht0 Flow_11jlqmr Flow_0we4l20 Flow_0fb9qhu Flow_1crkrzw Flow_064emnu Flow_0we4l20 gateway_approval_cnt == 2 Flow_064emnu Flow_11jlqmr Flow_1cmqfcg Flow_12nx960 Flow_1ibvb14 Flow_058zuib Flow_00akfhi Flow_0h5nhqk Flow_1ibvb14 gateway_approval_cnt == 2 Flow_0h5nhqk Flow_12nx960 Flow_069391w Flow_00akfhi DataObjectReference_10v9kb5 Property_0u2y5m5 DataObjectReference_1fwlns1 Property_0u2y5m5 DataObjectReference_10v9kb5 DataObjectReference_1fwlns1 # Increment approval count approval_cnt = approval_cnt + 1 # Set Exclusive Gateway variable gateway_approval_cnt = approval_cnt # Update approver state is_approval["approver3"] = True Flow_1ps311c Flow_0c7ey0f DataObjectReference_1r531et Property_0nkwrt1 DataObjectReference_0pcv4xh Property_0nkwrt1 DataObjectReference_1r531et DataObjectReference_0pcv4xh # Increment approval count approval_cnt = approval_cnt + 1 # Set Exclusive Gateway variable gateway_approval_cnt = approval_cnt # Update approver state is_approval["approver2"] = True Flow_0lsgj5x Flow_1crkrzw DataObjectReference_16tbebh Property_0qx3k9r DataObjectReference_0as5g1t Property_0qx3k9r DataObjectReference_16tbebh DataObjectReference_0as5g1t # Increment approval count approval_cnt = approval_cnt + 1 # Set Exclusive Gateway variable gateway_approval_cnt = approval_cnt # Update approver state is_approval["approver1"] = True