Hi,

Currently we have completed the implementation of performing authorization
during the BPMN process instance initialization.

During the BPMN Process definition, users are allowed to  define the list
of allowed persons or groups that has the permission to start instances of
that particular process definition.

users/groups definition can be done by simple format or by passing the
variable. For an example
we can define the groups like this

Candidate User Groups: group1, group2, ${groupVar}

In the above definition both group1 and group2 are the names of groups. In
order to identify the the value of *groupVar, *the value of the variable
should be defined when starting the instance.

{
   "processDefinitionKey":"myProcess",
   "tenantId":"-1234",
   "variables": [
      {
        "name":"groupVar",
        "value":"group3"
      }
   ]
}


Any ideas or thoughts are welcome.






Regards,
Firzhan
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to