Not really understanding call sub process

1
0
-1

I want to be able to click on a subprocess and expand it from the parent drawing - how do I do this? Going round in circles but I'm sure it's possible.

Comments

Submitted by brian_122 on Thu, 11/05/2015 - 14:51

When I select process elements and then use the extract sub process function, these element are put into a new swimlane and a call activity is created. When I right click on this call activity, I get the option to open the sub process. But nothing happens.

I want to create a process map that allows me to click down to a lower level of detail.

How do I do this? Can I do this with bonitasoft?

3 answers

1
0
-1

The only link I got is one to download a .proc file.

Can you share again the on to the .bos file?

Thanks

Comments

Submitted by brian_122 on Thu, 11/05/2015 - 17:02

Just resent a link to a dropbox folder with two .bos files

Submitted by brian_122 on Fri, 11/06/2015 - 08:17

Hi Antoine - please confirm that you got these files, otherwise I'll resend them.

Regards

Submitted by antoine.mottier on Mon, 11/09/2015 - 09:24

Hi Brian, sorry but I cannot find bos download links in this post.

Can you share them as a comment on this thread?

Thanks

Submitted by brian_122 on Mon, 11/09/2015 - 09:40

Hi Antoine

Sorry there was a problem with the file link - this link should work http://brianhunt.org/call_out_problem.bos

Please let me know when you have downloaded it as I then will delete the file from my site.

Thanks

Submitted by antoine.mottier on Mon, 11/09/2015 - 09:52

Sorry but the file seems corrupted. Can you try to export it again? Also maybe check and share the Studio log file.

To test if a bos file is valid you can try to open it with WinZip / 7-zip / WinRar...

Submitted by brian_122 on Mon, 11/09/2015 - 10:05

OK - Here's another try: http://brianhunt.org/problem_file_2.bos and http://brianhunt.org/problem_file_1.bos

problem_file_2.bos has all the options selected, problem_file_1.bos just the diagram.

I couldn't find out how to export studio file and export to BPMN failed.

I'm using a mac and these files don't show as zipped. Should they?

Submitted by Sean McP on Mon, 11/09/2015 - 17:06

Hi Brian,

just had a look and it works with me here. I right click a task and say Extract Process and a process is created. If I double click it works and goes to or opens one that is pointed too.

Just wondering, when creating the diagram dig you drag the Call Activity from the palette and just change the name...

If you do this then you have to create your sub-process manually and add it's name to the Caller Activity under General.

For example

Create a new diagram
Drag a Call Activity into the pool and call it qwerty (the same as the pool you want to call)
Double click the qwerty Call Activity - Nothing happens which is what is happening now...

Add a second pool, rename it to qwerty
Click the Call Activity and go to General->General
At the bottom add the name qwerty to subprocess.
Double Click and you will see the qwerty subprocess lane highlight.

It's working!

The easiest way of doing this is create a Step and Right click to Extract the process...which creates the subprocess for you and links it.

I think you're forgetting to link the Call Activity to the actual subprocess and that's why it's not working.

regards
Seán

Submitted by brian_122 on Mon, 11/09/2015 - 18:05

Great - thanks for helping me along that road Sean! What I want to do have a collection of sub processes that I can call from a higher level process. Would I need each one in it's own pool?

Submitted by Sean McP on Mon, 11/09/2015 - 19:59

All subprocesses are treated as a pool, it's the way it is.

What I do with generic subprocesses though is make individual diagrams for a single subprocess and then call them as necessary, for example

getdatabaseparms
sendemail
startandassignprocess

etc.

For your's the subprocesses are better aligned with the major process. It's a design and concept thing...some work better as one and others work better as the other,

regards

Submitted by Sean McP on Mon, 11/09/2015 - 20:00

PS. You might want to mark this as answered and complete, that way others will not try to answer it... :)

Other questions can be added to the board and we'll do our community best to help :)

regards

Submitted by brian_122 on Mon, 11/09/2015 - 23:31

Sean and Antoine - thanks for taking the time to answer my questions here. Much appreciated. My questions on this have now been answered.

1
0
-1

If you double click on the call-activity (or select "Open subprocess" from contextual menu) it will select the target pool.

Target pool can either be: - In the same diagram as the process who include the call activity - In a separated diagram If target pool is in the same diagram, target pool will be selected. If target pool is in a separated diagram, the diagram will be open and the pool will be selected.

If you create a call-activity and a pool using "Extract subprocess" feature it create the pool in the current diagram.

Comments

Submitted by brian_122 on Thu, 11/05/2015 - 15:18

That's not working for me - I'm using a macbook running Yosemite and have Java 1.8.0_6. Could I send the file to you to demonstrate?

Submitted by antoine.mottier on Thu, 11/05/2015 - 15:25

Yes, please share the file with a solution like dropbox or Google Drive.

Also can you mention which version of Bonita BPM are you using?

Thanks

Submitted by brian_122 on Thu, 11/05/2015 - 15:46

OK, just sent to a link to the file at https://www.dropbox.com/s/g6lp2dtf0udd65l/Example-1.0.proc?dl=0

I'm using Bonita BPM Community Edition
Version : 7.1.2

Submitted by antoine.mottier on Thu, 11/05/2015 - 15:49

Can you export the process with the "Export" button from the Studio? That the recommended way to share content between different Studios.

Thanks

Submitted by brian_122 on Thu, 11/05/2015 - 16:01

Hopefully what I've just sent is what you want - I've sent both versions available from export

1
-1
-1

Is this problem still being looked at? I'm progressing with using Bonitasoft but the non opening of sub processes is a real problem for me.

Comments

Submitted by Sean McP on Sun, 11/08/2015 - 13:05

I can tell you right now,

It's the weekend and some of us have a life to live.

Apologies but Community is Community and everyone helps as best they can. Good Netiquette is the key here.

Antoinie has said he's looking at this, and if you send the BOS file I will also have a look.

Community is where we put in our time, unpaid, to help. Please be considerate of our efforts rather than abusing those that try to help. I do not work for BonitaSoft just to let you know.

The Community is NOT always looked at by Bonitasoft, like other community sites it is for people who want to help.

If you need immediate response I would look to purchasing a Subscription License, that would work for you.

regards
Seán

Submitted by brian_122 on Sun, 11/08/2015 - 13:29

Didn't realise it was community response so apologies and thanks for time taken.

Notifications