zetaops / zengine

BPMN workflow based framework with Tornado, Rabbit AMQP, advanced permissions, extensible scaffolding features and more
GNU General Public License v3.0
83 stars 22 forks source link

Multilane wf possible owners by wf context #5341 #59

Closed zetaopsbot closed 8 years ago

zetaopsbot commented 8 years ago

Possible owners of a wf lane can be calculated with 3 extension flag, see #5285 or https://github.com/zetaops/zengine/issues/51

But none of them provide us to be able to define them by a variable which can be accessible in wf task data. We can write simple python expressions with variables from wf context. E,g:

Lets say we have two different permissions can_approve_academic_staff_promotions and can_approve_administrative_staff_promotions and a variable staff_type in wf's task data.

can_approve_academic_staff_promotions if staff_type is "academic", can_approve_administrative_staff_promotions if staff_type is "administrative", 

or something like that.

In general, it would be handy to be able to use wf task_data variables in wf context.

zengine

GH-58 : https://github.com/zetaops/zengine/issues/58

alirizakeles commented 8 years ago

duplicate of #58