workflow-util inbox function should return results based on the user rather than assignee so that we are using the same element all the way through a process:
cts:element-value-query(xs:QName("wf:assignee"),($username,xdmp:get-current-user())[1])
should be
cts:element-value-query(xs:QName("wf:user"),($username,xdmp:get-current-user())[1])
The workflow-import module sets use of wf:assignee so needs to be changed as well.
This has been fixed in an earlier version by a customer, but dev is sufficiently different that we need to ensure tests pass (the customer makes extensive use of dynamically assigned tasks).
Additionally, a test should also be created in the e2e xml and json tests between tests 16 and 17 to ensure that the user "admin" has been dynamically assigned (reuse test 08)
workflow-util inbox function should return results based on the user rather than assignee so that we are using the same element all the way through a process:
cts:element-value-query(xs:QName("wf:assignee"),($username,xdmp:get-current-user())[1])
should bects:element-value-query(xs:QName("wf:user"),($username,xdmp:get-current-user())[1])
The workflow-import module sets use of wf:assignee so needs to be changed as well.
This has been fixed in an earlier version by a customer, but dev is sufficiently different that we need to ensure tests pass (the customer makes extensive use of dynamically assigned tasks).
Additionally, a test should also be created in the e2e xml and json tests between tests 16 and 17 to ensure that the user "admin" has been dynamically assigned (reuse test 08)