Hi,
I face problem when setting Actor of task to #{initiator}. I am running spring boot kie-server with keycloak (built from keycloak-kie-server-spring-boot-sample).
1. Set Actor of task as #{initiator}.
2. After starting the process, the owner of the reserved task is set to #{initiator} instead of the username of the signed in user (admin)
3. The initiator process variable did get populated properly.
4. In the log, I found this:
kie-server_1 | 2018-03-18 04:08:19.660 ERROR 5 --- [io-8080-exec-10] o.j.w.i.node.WorkItemNodeInstance : Could not find variable scope for variable initiator
kie-server_1 | 2018-03-18 04:08:19.660 ERROR 5 --- [io-8080-exec-10] o.j.w.i.node.WorkItemNodeInstance : when trying to replace variable in string for Work Item Human Task
kie-server_1 | 2018-03-18 04:08:19.660 ERROR 5 --- [io-8080-exec-10] o.j.w.i.node.WorkItemNodeInstance : Continuing without setting parameter.
Any idea? What is the variable scope?
Regards,
--Nick Wong