Return url is not correctly formed when doing ticket > reassign task > add person (or group) > select / done > done again
As a result, the user is driven back to the ticket in edit mode, which can be confusing.
The sequence call is as follows:
(4) acs-workflow/assignee-add-2 (process previous request)
(6) intranet-helpdesk/new >> ticket in edit mode (!?)
And now how the sequence should be, with the right parameters for return url:
(6) intranet-helpdesk/new >> ticket in display mode
So the problem is a nested return_url within a return_url in the exported vars.
I have used ns_log to trace the parameters passed to acs-workflow/assignee-add-2 and they are not correct anymore, so I guess that the problem should be corrected in acs-workflow/assignee-add
Said that, I tried to build a proper return_url there, using export_vars and other functions, but it is trickier than expected.