cimbalek opened a new issue, #2273:
URL: https://github.com/apache/incubator-kie-issues/issues/2273
When using multiple group expressions in the BPMN User Task potential owners
(e.g., #{group1}, #{group2}, #{group3}), only the first variable is resolved,
while the remaining dynamic or static groups are ignored. Static group values
work correctly when used alone, but when combined with expressions, only the
first entry is applied.
Steps to Reproduce:
Create a BPMN process with a User Task and configure the Groups field with
multiple values, for example:
#{group1},#{group2}
Deploy and start the business service containing this BPMN.
Start the process instance using the HelloWorld endpoint (/HelloWorld) via
Swagger with payload like:
{ "group1": "adminGroup",
"group2": "ownerGroup" }
After the process starts, retrieve the created user task using:
/usertasks/instance/{taskId} endpoint, or
Query the task assignment tables in the database.
Check the potential groups assigned to the task.
Actual Result:
Only the first variable (Group1) is resolved and assigned. Other dynamic or
static groups are ignored.
Expected Result:
All provided groups (Group1 and Group2) should be resolved and assigned as
potential owners.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]