- Fri Apr 26, 2019 6:08 am
#824140
Hello,
I have a trigger that is setup to pause the case until a certain time. During my testing this was working, but now it doesn't appear to be working properly.
Not sure If I need another Trigger somewhere or if there is something that should be modified for the unpause.
Thank you in advance.
I have a trigger that is setup to pause the case until a certain time. During my testing this was working, but now it doesn't appear to be working properly.
Code: Select all
I also have a follow up trigger that will send and email when unpaused. I know that part works.//get the user assigned to the next task:
$c = new Cases();
$aCaseInfo = $c->LoadCase(@@APPLICATION, @%INDEX+1);
//if next task is a subprocess then no assigned user:
if (empty($aCaseInfo['CURRENT_USER_UID']))
$userId = @@USER_LOGGED;
else
$userId = $aCaseInfo['CURRENT_USER_UID'];
PMFPauseCase(@@APPLICATION, @%INDEX+1, $userId, @@course_end);
Not sure If I need another Trigger somewhere or if there is something that should be modified for the unpause.
Thank you in advance.