Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


Re: is there a need for complete() call in the tiki-g-run_activities for auto start?

Brazil

> if the first activity, the Start one, is auto-routed,
> then it seems that there is no calling to complte() for it.

Not quite. What really matters is whether the activity is automatic or interactive. Automatic activities do not need to run the $instance->complete() method, but interactive activities do.

> as a auto-routed activity which is not the first one in the
> process, the sendTo() from previous activity will call the
> auto ones' complete(), so is there a need for adding below codes
> in the end of tiki-g-run_acitivities.php?
>
> if'auto'
> $instance->complete();

Could you elaborate on this, say, by uploading a picture of such a situation? But from what I could understand, you don't need to worry about this, because automatic activities will be handled by the galaxia_execute_activity() function in lib/Galaxia/config.php.

>
> such a auto start may be needed in the condition that people
> want to start a scheduled process in the predetermined time

You want to use Galaxia as a job scheduler? Have you considered other tools? Regards,

Georger

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting