spring - Managing users BPMN/Activity for multiple tenants (departments) -
i have several process definitions in bpmn , using activity start them. process definitions includes users responsible perform tasks. internet full of examples how manage such schemes.
but need start multiple process instances of same process against multiple departments. each department has near same organization structure, persons not same. example after shipping goods head of department must send report customer. in case head of department behaves same each time different person. , following bpmn definition cannot manage this:
<resourceassignmentexpression> <formalexpression>head</formalexpression> </resourceassignmentexpression>
because each department has own head.
so question: how manage user in separate instances of bpmn process?
if building solution, pass department process instance businesskey on startup. then, use task listener attached assign event determine task should assigned based on business key. other advantages of approach business key persisted in history giving opportunity report on instances department.
hope helps.
Comments
Post a Comment