call activity

Sub Process not showing when reaching the Call Activity

Hi everyone.
I'm very new to Bonita, so any help is appreciated!

So I am using a Call Activity in my Main process to call a Sub Process. However, for some reason the sub process is not showing when I reach the call activity and just ends the process there, ignoring the rest of the process.

I was able to get the sub process to display yesterday, by starting a project from scratch. But as soon as I add the Data to be sent and received via the sub, it started disappearing again.

thomas.allweyer's picture
thomas.allweyer
Category: 

Most selections of paths in BPMN models are based on data, such as the total of an order. In this example I show how you can select a path based on events - even though Bonita doesn't support the event-based gateway as it is defined in the BPMN standard. Includes a video and the download of the Bonita project.

thomas.allweyer's picture
thomas.allweyer
Category: 

Example of a process with a call activity that calls another process containing the details of preparing the proposal. There is also video which explains how and when to use a call activity and how to transfer data to the called process and back to the root process.

How to run call processes with a list?

Hello everybody,

I am a beginner on Bonita and I have to create a process that will create and launch other processes (call activity). My parent process contains a business variable which has 3 fields:
-"MasterMO" (it is a reference)
-"ProjectCode"
-"ChildMOs" This list "ChildMOs" type is "ChildMO" which is another "multiple" business data which contain
-"MORef"
-"PanelName"

-"MOId"

Can someone help with this problem? (No process instance was found as child of the activity with id)

Im getting this exception every time, i have a process wich calls another process, and that process also calls one like this:

process1 (KonfigSzamlaGen )-> process2 (this should be konfigszamla, but it does not appear in the log) -> process3(Szamlazzhu-ra Kuldes)

Im using call activity to call the processes.

Although i have this error, everything seems fine, my main process does finish and even the sub processes do they job.

Why am i getting this error?

before the error i have these lines:

Error while using call activity

I am using Bonitasoft 7.9, and I keep facing an error during validation "Some data from call activity are missing".
My data send and data receive are appropriately filled, I do not know what exactly is missing. Is this a bug?

Thanks!

Error calling another Process

Hello All,

The called process has a Long variable process which is used to load a BDM object. This process works perfectly with any number, given there is a corresponding entry in the table.

Now, when the caller sets this variable to an Id we now exists, we get the following error:

Sub process doesn't inherit root process initiator

Is there a reason why a sub process doesn't inherit the root process initiator user?

I'm testing out the sub process feature by using the Call Activity Task, and noticed that the sub process doesn't inherit the initiator of the root process. I was able to work around it by passing in, through the process contract, the user id of the root process initiator, but it seems like it is redundant, and it should automatically work.

call activity

When I call a defined process p2 from the process p1, (which both of them work well independently) I get the following error message and process p2 fails:
Groovy script throws an exception of type class org.bonitasoft.engine.identity.UserNotFoundException with message = org.bonitasoft.engine.identity.SUserNotFoundException: USER_ID=0 | Can't find the user
and here is the script for business variable which is common between p1 and p2:
def businessObject2Var = new com.company.model.BusinessObject2()

Custom object mapped from call activity have no values in the child process's object from the parent process's object

I use custom objects in my process, I have made sure they are serializable. Everything works except when I try mapping the custom objects I have made through a call activity to a sub-process. The object in the child process does not have any of the values assigned that were in the parent process object the mapping was set up with. Is there something that I am doing wrong, or can custom objects not be mapped using the call activity?

Notifications