Discussion about developing the ProcessMaker application and suggestions for improving it
#829389
hi, i need help

i want to step back a task on over a case something like this:

task 1
task 2 <- (desire step back )
task 3
task 4 <- (current task delegation index)
task 5
task n

the goal is for wherever reason move the current task for task 4 to task 2 (or other) without draw a new route in bpmn view, on API and function only i see code for jump or for move forward a case.

any help will be appreciate.

regards

Processmaker 3.3 Community
User avatar
By kirkwg
#829390
Hello there,

Hi I haven't experienced your scenario to return to a previous task# before, but I had donesucessfully like this:

E.g. at Task_4 > submit > trigger to update a record in the PM table , then use PMFRedirectToStep() back to Task_4
Let me know if you need this example for your reference, I can show you the codes.

Reference link:
https://wiki.processmaker.com/3.2/ProcessMaker_Functions/Case_Routing_Functions#PMFRedirectToStep.28.29

You could trials and errors by following the link above. Cheers & good luck!

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]