cancel
Showing results for 
Search instead for 
Did you mean: 

Real Parallelism Exectution Script

deepyou
Champ in-the-making
Champ in-the-making
Hi all, I'm new on Activiti and BPMN. I've some doubts about an important tecnical question:
I have to choise an BPMN engine and I want to use Activiti. But first of develop my Business Process I have to know some of important.

It's possible run in parallel two o more task with activiti?


My process is some like this:
[img]https://dl.dropbox.com/u/5368083/MyProcess.jpg[/img]
https://dl.dropbox.com/u/5368083/MyProcess.jpg

So what i want to do is that
A and B, together, starts  in parallel, like in two different threads, so means that the real execution of two java classes is in parallel,
after I want that A1 starts after A and B1 starts after B, and when A1 and B1, toghether, ends all process stop.

It's possible with Activiti?
If this is possibile can someone explain how to develop a process and run it in eclipse just to test it?
Thanks
6 REPLIES 6

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I don't want to sound rude, but please search the forum first for similar questions. Maybe in more generic terms (don't include 'scripttask')

deepyou
Champ in-the-making
Champ in-the-making
I don't want to sound rude, but please search the forum first for similar questions. Maybe in more generic terms (don't include 'scripttask')

Hi Ronald, I'm so sorry but before asking with my post i searched a lot in the forum, i read a lot of posts and I tried a lot of code combination. Because I'm not sure if what I want is possible or I'm not able to do, for this reason I decide to write on this forum and explain my problem to persons who knows how Activiti Eingine works and what Activiti can do.

For these reasons please help me, the solution of this tecnical problem could be for the company where i work a crucial node.
Best Regards
Gaetano.

deepyou
Champ in-the-making
Champ in-the-making
Maybe in more generic terms (don't include 'scripttask')

Sorry Ronald, but The "more generic" could be simply if I want to execute two script in real parallelism way, simply like two thread in java. But Reading my post you can understand that my question is very simply.
Regards.
Gaetano

jbarrez
Star Contributor
Star Contributor
See http://activiti.org/faq.html#WhatIsTheDifferenceBetweenProcessConcurrencyAndJavaConcurrency

Or use an 'asynchronous' step if you want to have it done in 'real' parallel.

deepyou
Champ in-the-making
Champ in-the-making
See http://activiti.org/faq.html#WhatIsTheDifferenceBetweenProcessConcurrencyAndJavaConcurrency

Or use an 'asynchronous' step if you want to have it done in 'real' parallel.

Solved, Maybe,
thank you very much, it is wonderful when a community is able to suggest the way to go.
Maybe we're going to use activiti in a large scale system, so I  hope we are able to take advantage of Activiti.
Thanks to all.

Regards.
Gaetano

jbarrez
Star Contributor
Star Contributor
Maybe we're going to use activiti in a large scale system, so I hope we are able to take advantage of Activiti.

I'm hoping together with you 😉
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.