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

1
0
-1

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.

1 answer

1
+1
-1

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={{1activity.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.

Comments

Submitted by sruthi.canvas on Mon, 09/21/2015 - 05:23

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

Submitted by gjergj.sheldija on Fri, 09/25/2015 - 20:20

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.

Notifications