Class Task

    • Constructor Detail

      • Task

        public Task​(java.lang.String messageKey)
        Public constructor that creates a new Task with a specified message key. After construction, the protected method AbstractStep.setWorkflow(int, Map) should be called.
        Parameters:
        messageKey - the Step's message key, such as decision.editPageApproval. By convention, the message prefix should be a lower-case version of the Step's type, plus a period (e.g., task. and decision.).
      • Task

        public Task​(int workflowId,
                    java.util.Map<java.lang.String,​java.io.Serializable> workflowContext,
                    java.lang.String messageKey)
        Constructs a new instance of a Task, with an associated Workflow and message key.
        Parameters:
        workflowId - the parent workflow id to set
        workflowContext - the parent workflow context to set
        messageKey - the i18n message key