Page 1 of 1

Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Tue Aug 06, 2019 6:46 pm
by maabik
Hello,
In the attached workflow, when the user submits the form in “Task 1”, a message and screen are displayed as illustrated in the first attachment, then a script “Update script” is executed and the “Task 2” is created without displaying the “Assign Task/Event” for it.

I would to implement the following need; when the user submits the form of “Task 1”, we hide / bypass the “Assign Task/Event” message for the script that will be executed and then show the “Assign Task/Event” message for “Task 2” as illustrated in the attachment 2.

I used the following code that hides the “Assign Task/Event” for the script but does not show the message for the “TASK 2”:
PMFDerivateCase(@@APPLICATION, @%INDEX);
G::header("Location: casesListExtJsRedirector");
die();

Can you support me with this?

regards

Re: Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Wed Aug 07, 2019 6:25 pm
by amosbatto
Delete the script task from your process and set the trigger to fire after routing in "Task 1". That way the user won't see the page about the script task when running the process.

Re: Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Thu Aug 08, 2019 7:19 pm
by maabik
Hi,

Thank you for your feedback.

I have other scenario as illustrated in the attached document.

how can I implement your solution?

Regards

Re: Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Thu Aug 08, 2019 9:08 pm
by amosbatto
Delete the "Update Script A" from your process.
Then set the trigger to fire before routing in "Task 1".

Re: Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Fri Sep 13, 2019 7:38 pm
by maabik
Hi,

I have another scenario in my process where I should hide the message (please refer to the attached document). suppose I am in in step 1, there are some cases where 1 - both "TASK 3" and "script Task", and two only the script task is only executed.
can you help me in writing the trigger code that i should in "TASK 1" to either hide completely the message or only the one for the script task?

Regards

Re: Hide / Bypass “Assign Task/Event” message and screen for only script tasks

Posted: Tue Sep 17, 2019 12:12 am
by amosbatto
maabik wrote: Fri Sep 13, 2019 7:38 pm I have another scenario in my process where I should hide the message
What message are you talking about?