[closed] how to use Target URL on success to move to next human task

hi,

how can i use the Target URL on success in the button button widget, or the hyperlink widget
to move to the next human task ?

thanks
gj.

hi,

think i solve it.
create a variable of type External API with value id and name taskId
create a variable of type External API with value …/API/bpm/activity/{{taskId}} and name activity

then in the Target URL on success you have two options :

  • first with the menu frame
    homepage#?id={{1*activity.id+2}}&_p=performTask&_pf=1
  • second without the menu frame
    create a variable of type External API with value …/API/bpm/process??p=0&c=1&s=Per%20Strehim and name applicationVersion
    resource/taskInstance/PROCESS_NAME/{{applicationVersion[0].version}} /TASK_NAME/content/?id={{1*activity.id+2}}&locale=en

hope it helps

regads
gj.

Hi can you explain in detail how to do this. I am new to bonitasoft and I have no knowledge on coding.

When I click on the hyperlink present in the form 1 of task 1 then it should take me to the form 2 present in the task 2. Can you help me on this

hi,

you need to know how to call the bonita API via the form designer.
for this you should read the documentation and at least follow the example
provided in the documentation.

regards
gj.