Class WorkflowStartService

java.lang.Object
com.axelor.workflow.message.WorkflowStartService

public class WorkflowStartService extends Object
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 Details

    • WorkflowStartService

      public WorkflowStartService()
  • Method Details

    • startMessageRuns

      public int startMessageRuns(String name, String key, MessageDelivery delivery)
      Start every definition that answers to this name, on the record the key names.
      Returns:
      how many runs started