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.
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
andcan_approve_administrative_staff_promotions
and a variablestaff_type
in wf's task data.or something like that.
In general, it would be handy to be able to use wf task_data variables in wf context.
zengine