Package com.axelor.workflow.message
Class WorkflowStartService
java.lang.Object
com.axelor.workflow.message.WorkflowStartService
Starts runs because a message named them: the message's key is read as the id of a record of the
definition's own model. A key that is not such an id starts nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstartMessageRuns(String name, String key, MessageDelivery delivery) Start every definition that answers to this name, on the record the key names.
-
Constructor Details
-
WorkflowStartService
public WorkflowStartService()
-
-
Method Details
-
startMessageRuns
Start every definition that answers to this name, on the record the key names.- Returns:
- how many runs started
-