Class ReviewStepDefinition
Object
CreationWorkflowStepDefinition
ReviewStepDefinition
A step in the Creation Workflow where line items are sent for review.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the label of the Creation Workflow step (theCreationWorkflowStepDefinition
object).
Example:withLineItemFilters
(Map<String, Filter> lineItemFilters) Defines line items groups for this review step using filters.withReviewByUserGroupWithSubSteps
(ReviewByUserGroups reviewByUserGroups) Defines definition of sub steps in which the line items are reviewed using a review user groups.Methods inherited from class CreationWorkflowStepDefinition
getLabel, getShouldSendNotification, getUserAssignee, getUserAssignees, getUserGroupAssignee, getUserGroupAssignees, getUserGroupWatchers, getUserWatchers, withShouldSendNotification, withUserAssignee, withUserAssignees, withUserGroupAssignee, withUserGroupAssignees, withUserGroupWatchers, withUserWatchers
-
Constructor Details
-
ReviewStepDefinition
public ReviewStepDefinition()
-
-
Method Details
-
withLabel
Description copied from class:CreationWorkflowStepDefinition
Sets the label of the Creation Workflow step (theCreationWorkflowStepDefinition
object).
Example:def step1 = api.newCreationWorkflowStep() .withLabel("The Step One") .withUserAssignees("admin", "john.price")
- Overrides:
withLabel
in classCreationWorkflowStepDefinition
- Parameters:
label
- The label as a string.- Returns:
- The
CreationWorkflowStepDefinition
object with the given label. - See Also:
-
withReviewByUserGroupWithSubSteps
public ReviewStepDefinition withReviewByUserGroupWithSubSteps(ReviewByUserGroups reviewByUserGroups) Defines definition of sub steps in which the line items are reviewed using a review user groups.- Parameters:
reviewByUserGroups
- the review configuration- Returns:
- current step
-
getLineItemFilters
-
withLineItemFilters
Defines line items groups for this review step using filters. The line item groups are mapped to user groups. Each line item should be included in at most one line item group.- Parameters:
lineItemFilters
- a map of user group unique names to their corresponding line item filters- Returns:
- current step
-
getReviewByUserGroupWithSubSteps
-