Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


Re: Re: Re: can't see nothing under "User Process"

Brazil

> thanks. i'm stupid, i didn't see the process was correct but not enable :P

I don't think you're stupid. I myself fell for this several times, as well as one of my team members.

> few questions:
>
> I know that an instance is an example of a process that "flow", pass from one activity to another. If you have an activity (start) named A and one named B, in sequence, an instance created by the start activity A go to the activity B. right?

Wrong. If A is a start activity, it only means it does not have a predecessor. You have to run it and complete it. It has code for logic, a template for layout, and has to call the $instance->complete() method in order for the instance to advance to activity B - and it will only advance to activity B if A is auto-routed (which is recommended).

> Image that an instance named "first" is passed to activity B. In the activity B, you abort instance "first".
> Using API ($GUI->gui_list_user_instances), i see (in the activity B-) that instance "first" has INSTANCE STATUS = aborted (of course) and ACTIVITY STATUS = running.

Right.

>
> The same appens with excpetion. Image that you have an instance named "second" passed to activity B. In the activity B, you exection the instance.
> In the activity B, I see that instance "second" has INSTANCE STATUS = exception and ACTIVITY STATUS = running.
>
> with $GUI->gui_list_user_instances you has for each instance some proprieties like instance status and activity status. what means activity status? i'm confused. why the activity status is still running for an instance aborted?

You're right. It really could be clearer. The difference is that an aborted instance can't be resumed. An "exceptioned" one can.
Instance status is important because you can have running, aborted, "exceptioned" and completed instances. How else would you figure out how your instances are doing?
Activity status is also important because you can have running and completed activities. This way you can track how far into the process an instance is.

> thank you in advance. i'm a student and i'm doing a thesis on workflow and galaxia using API for monitor and execute workflow (not for design it)

Great! What tool are you using for design? JaWE?
I have made some fixes to Galaxia. If you're interested in them, just write me on georger_br ar yahoo dot com dot br.
You may want to take a look at my University Admission Exam sample process. Its XML and MySQL script are available at http://sourceforge.net/tracker/index.php?func=detail&aid=1210071&group_id=64258&atid=506846

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