button action on execution adds /API/bpm/userTask/ to URL

hi all,

trying to use the target URL to navigate between forms in bonita 7.0.2.
i’ve put the button action to POST
filled the URL to call with : …/API/bpm/userTask/{{taskId}}/execution
and set the value for Target URL on success to /bonita.
where taskId is an url parameter with value id
and ProcessDef is and API call to …/API/bpm/process?p=0&c=1&f=name=PROCESS
the problem is that whatever values i put on this field, i always get an 404 error and the
bonita creates the following url :
http://localhost:30612/bonita/portal/resource/taskInstance/PROCESS/0.4/STEP_NAME/API/bpm/userTask/PROCESS_ID/execution

what 'am i doing wrong ? why bonita rewrites the url to the one above no matter what values i put in the target URL
field ?

regards
gj.

noticed something strange,
that when it get’s executed inside the bonita frameset - the one with the menus, etc - it works
correctly.
anyone has any idea why ?

gj.