cancel
Showing results for 
Search instead for 
Did you mean: 

activity in webapp

bbrod69
Champ in-the-making
Champ in-the-making

I am new in Activiti I want to know if it's a good choice for my web application.
I have a WebService who receive mail. These mails enters in a workflow to be treat.
According to propertties on the Business object, le mail must be treat by a special group.

The property group must be a task property?
I must do query to display list for a group.
The best way is to do query on my table "mail" or directly on processInstance table for the special property "group"?

I read docummentation but I don't understand if my business object refers process intance id or if process instance id refers my business object?

I don't find example with a real workflow and business objects.

Think you for response,

1 REPLY 1

trademak
Star Contributor
Star Contributor
We do have some examples of using Business Objects / POJOs in the user guide.
You can use POJOs in expression throughout the process definition, so yes it's possible to do that.
The only thing you have to do is add the business object as a variable when starting the process instance.

Best regards,