Page 1 of 1

How to "un-stuck" a case

Posted: Tue Dec 19, 2017 12:21 pm
by Throwaway
We have timers/cron set up to run a script to check for the date entered, however, some cases had no date entered and are stuck in a infinite loop and they are shown as "INTERMEDIATE-CATCH-TIMER-EVENT".

Can I send these cases forward to the next task, send them back, or send them a "date" of some sort?

Re: How to "un-stuck" a case

Posted: Tue Dec 19, 2017 7:56 pm
by amosbatto
You can route on the cases with the PMFDerivateCase() PM function, routeCase() web service or the PUT /cases/{app_uid}/route-case REST endpoint.
You can also set the dates in the case with PMFSendVariables().

Here is a example process to set the data variable in a specified case:
(32.37 KiB) Downloaded 373 times

Re: How to "un-stuck" a case

Posted: Thu Sep 16, 2021 8:52 am
by Skipper
Thanks a lot.
The example here is my solution for my problem in this thread:
https://forum.processmaker.com/viewtopic.php?f=44&t=738148