Page 1 of 1

start workflow and move from task to task without click continue button

Posted: Tue Oct 08, 2019 5:41 am
by marahalh
please I need your help...
I need to use processmaker workflow at the background, so I don't want to click continue button every time.
I want to initiate workflow automatically without using the interface (from external system).


when we use trigger like below photo.. we receive the new inbox but the trigger doesn't work.
it only work when I open the task in inbox , although I put the trigger before assignment (I want to run trigger automatically )

Re: start workflow and move from task to task without click continue button

Posted: Thu Dec 12, 2019 10:39 am
by dan123dan
Hi!!!!

Did you check the wiki, 'cause ProcessMaker provides you different options to set a trigger to fire when the case is created.

As an example:

>> If you set the trigger to fire before the first step in the task, then it won't fire until the user manually opens the task in the case.
>> If you want a trigger to automatically execute when a task starts, then set the trigger to fire after routing in the previous task in the process.

You can check the wiki https://wiki.processmaker.com/3.2/Trigg ... tion_cases and If you have any doubts, please let me know.

Re: start workflow and move from task to task without click continue button

Posted: Thu Dec 12, 2019 10:47 am
by programerboy
Hi,
The best way for start and run a case from an external system is using the rest api:
https://wiki.processmaker.com/3.3/REST_API_Cases/Cases

https://www.youtube.com/channel/UCYiyz1 ... 1iw/videos
Thanks