Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

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.

I had 2 tasks where both tasks were assigned to a user. Since the owner of both tasks is the same person, I would like the system to immediately switch to the next task when a submit button is clicked bypassing the inbox & click 'Continue' button.

I have tried this trigger code
Code: Select all
header("Location: casesListExtJsRedirector");
It manages to skip the 'Continue' page. However, it does not redirect me to the next task. I have to double-click the task in the inbox. Is there a way for us to execute the next task bypassing the 'Continue' & Inbox?

Create a trigger with the following code:
Code: Select all
$caseId = @@APPLICATION;
$nextIndex = @%INDEX + 1;
PMFDerivateCase($caseId, @%INDEX);
G::header("Location: cases_Open?APP_UID=$caseId&DEL_INDEX=$nextIndex&action=draft");
Then assign the trigger before assignment to the next task.
I hope this information helps you.
PM generating absolute URL

Hi, Please delete all files in this path and test […]

Hi, You must upgrade your program to version 3.5.8[…]

Hi, Please check this link for your problem: http[…]

Enabling SQL Server in Windows

panties very nice work here panties