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!
ProstaBiome Customer Reviews

ProstaBiome Review 2024 - Yes, ProstaBiome is gene[…]

ProstaBiome Advantages

The Benefits of ProstaBiome for Prostate Health I[…]

Non-fungible tokens (NFTs) have surged in populari[…]

PVC Patches

If you staying in Vasant Kunj and looking for a es[…]