Class WorkflowRule

    • Method Detail

      • getExpression

        public String getExpression()
        Get the expression for the workflow rule.
        Returns:
        the expression
      • getFriendlyName

        public String getFriendlyName()
        Get the friendly name / label for the workflow rule.
        Returns:
        the friendly name
      • getWorkflowRuleTargets

        public List<WorkflowRuleTarget> getWorkflowRuleTargets()
        Get the list of workflow rule targets for this workflow rule.
        Returns:
        list of workflow rule targets
      • fromJson

        public static WorkflowRule fromJson​(String json)
                                     throws IOException
        Converts a JSON workflow configuration to a workflow rule object.
        Parameters:
        json - JSON for workflow rule
        Returns:
        a workflow rule target object
        Throws:
        IOException - if unable to create object