Interface ReviewUserGroupSubStep

All Superinterfaces:
IsParallelSubStep, IsSequentialSubStep

public interface ReviewUserGroupSubStep extends IsParallelSubStep, IsSequentialSubStep
A sub step in the Creation Workflow where a line item is sent for review by a particular user group.
  • Method Details

    • withUserGroup

      ReviewUserGroupSubStep withUserGroup(String userGroupName)
      Defines the user group that will review the line items in given line item group.
      Parameters:
      userGroupName - the unique name of the review user group
      Returns:
      current sub step
    • withLabel

      ReviewUserGroupSubStep withLabel(String label)
      Defines the label of this sub step.
      Parameters:
      label - the label of the sub step, the label is shown in the Summary section
      Returns:
      current sub step
    • withLineItemFilters

      ReviewUserGroupSubStep withLineItemFilters(Map<String,Filter> lineItemFilters)
      Defines line item groups for this review sub step using filters. It is possible to specify a line item group either on the step level or on the sub step level (but only on the first sub step in a given sequence of sub steps).
      Parameters:
      lineItemFilters - a map of user group unique names to their corresponding line item filters, each sub step behind this will inherit the same line item filters
      Returns:
      current sub step
    • withLineItemCondition

      ReviewUserGroupSubStep withLineItemCondition(Filter condition)
      Defines condition for a line item which must be matched if this sub step should be applied on a particular line item. It means user will review only line items matching this condition. If no line item in the line item group matches this condition, then this sub step will be skipped.
      Parameters:
      condition - the filter for line item if a line item should be reviewed in this sub step or not
      Returns:
      current sub step