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.
#827414
Hi,

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
PMFDerivateCase(@@APPLICATION, @%INDEX);
header("Location: casesListExtJsRedirector");
die();
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?

Thanks.
#827845
Hello!
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");
die();
Then assign the trigger before assignment to the next task.
I hope this information helps you.

Do you want a quick way to delete passwords from P[…]

Try the CloudMigration PST Converter to convert […]

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]