Flowable permits to define a business key when creating a process instance. This key can be used to retrieve easily a user task to complete without knowing the right process instance identifier.
So, please add the capability to set the business key when completing a user task of a process instance:
- the business key is optional, and now the process instance identifier becomes optional:
- if no business key is provided, the process instance identifier is required,
- if no process instance identifier is provided, the business key is required and must be sufficient to identify only one process instance, otherwise the process instance identifier is required,
- if a business key is provided, the process instance identifier will be used complementary to retrieve the process instance,
- the business key is extracted from the incoming payload through a XPath expression configured as a WSDL annotation: flowable:business-key,
- if a business key is defined, it can be used to generate the output XML payload through the XSL parameter '{http://petals.ow2.org/se/flowable/output-params/1.0/special}business-key'