Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#829696
Hello alisoroush7

You can achieve this by using a custom cron job that will run a plugin script to check the cases you need to move forward under certain criteria.

Find the documentation on how to build this cron job from a custom plugin in the link below
https://wiki.processmaker.com/3.0/Plugin_Development

https://wiki.processmaker.com/3.0/Plugin_Development#Creating_a_cron_using_ProcessMaker_classes

The cron will have to fetch the data from the latest open delegation in the APP_DELEGATION table.
You can fetch the TASK_UID, DEL_INIT_DATE, and the DEL_FINISH_DATE from a case where the DEL_LAST_INDEX is 1 and DLE_STATUS = 'OPEN', which means it is the current task for that case.

Based on the dates and the current date in the system you can decide whether to send a notification/reminder or not for each case.

I hope this helps.
#829697
Hello alisoroush7

You can achieve this by using a custom cron job that will run a plugin script to check the cases you need to move forward under certain criteria.

Find the documentation on how to build this cron job from a custom plugin in the link below
https://wiki.processmaker.com/3.0/Plugin_Development

https://wiki.processmaker.com/3.0/Plugin_Development#Creating_a_cron_using_ProcessMaker_classes

The cron will have to fetch the data from the latest open delegation in the APP_DELEGATION table.
You can fetch the TASK_UID, DEL_INIT_DATE, and the DEL_FINISH_DATE from a case where the DEL_LAST_INDEX is 1 and DLE_STATUS = 'OPEN', which means it is the current task for that case.

Based on the dates and the current date in the system you can decide whether to send a notification/reminder or not for each case.

I hope this helps.

Thanks for the link, amosbatto! I was searching fo[…]

Hello Please can you help me with the place where […]

Hi there, I have 3.5.7, 3.8.1 and 3.8.2 versi[…]

AI bot development involves creating intelligent b[…]