Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Events #302

Closed
rsoika opened this issue Sep 14, 2017 · 4 comments
Closed

Split Events #302

rsoika opened this issue Sep 14, 2017 · 4 comments

Comments

@rsoika
Copy link
Member

rsoika commented Sep 14, 2017

In order to support parallel gateways the workflowKernel should create versions depending on the model.
In case a event is followed by a parallel gateway for each output evaluating to false a new version of the current process instance should be created

The idea is to support Models like this one:
imixs-bpmn-splitevent-1

Solution

To solve the problem of the Master/Version instance the kernel evaluates conditions the output flows. If a condition evaluates to true than this is the flow for the master version (current process instance)
For each output evaluated to 'false' a new cloned version of the current process instance is created.
If the output is a event, than the new version will be processed.

@rsoika rsoika added this to the 4.2.0 milestone Sep 14, 2017
rsoika added a commit that referenced this issue Sep 14, 2017
rsoika added a commit that referenced this issue Sep 15, 2017
@rsoika rsoika added the testing label Sep 15, 2017
@rsoika
Copy link
Member Author

rsoika commented Sep 20, 2017

The worklfowKernel should throw a exception if no true condition is found in the outcome of the split gateway

rsoika added a commit that referenced this issue Sep 21, 2017
@rsoika
Copy link
Member Author

rsoika commented Sep 21, 2017

A parallel-gateway event must be followed by an event for each outcome. Otherwise the new version is in an undefined state.
Triggering the in-going event multiple times is not solution because of business logic consistency (e.g. same email would be send multiple times)

rsoika added a commit that referenced this issue Sep 21, 2017
rsoika added a commit that referenced this issue Sep 21, 2017
@rsoika
Copy link
Member Author

rsoika commented Sep 24, 2017

remove $workitemIDRef and replace this attribute with $UNIQUEIDSOURCE

rsoika added a commit that referenced this issue Sep 24, 2017
@rsoika
Copy link
Member Author

rsoika commented Sep 24, 2017

add temporary attribute $isversion...

rsoika added a commit that referenced this issue Sep 24, 2017
rsoika added a commit that referenced this issue Sep 24, 2017
@rsoika rsoika closed this as completed Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant