Interface IsParallelSubStep
- All Known Subinterfaces:
ReviewUserGroupsSequentialSubSteps,ReviewUserGroupSubStep
public interface IsParallelSubStep
Marker interface for review sub-steps that can run as one branch of a parallel group in a
ReviewStepDefinition of a Creation Workflow. All branches of a parallel group are active at the same time,
so the user groups in different branches review the document simultaneously.
You do not implement this interface. The following objects implement it, so you can pass them to
ReviewByUserGroups.withParallelSubSteps(IsParallelSubStep...) or
api.newReviewParallelSubSteps(...):
- a single review sub-step (
ReviewUserGroupSubStep), created byapi.newReviewSubStep() - a sequence of review sub-steps (
ReviewUserGroupsSequentialSubSteps), created byapi.newReviewSequentialSubSteps(...). The sub-steps inside the sequence run one after another, while the sequence as a whole runs in parallel with the other branches.
ReviewUserGroupsParallelSubStep) does not implement this interface, and nested parallel
sub-steps are not allowed: a sequence used as a parallel branch must not contain a parallel group.
Example:
api.newReviewByUserGroups()
.withParallelSubSteps(
api.newReviewSubStep()
.withUserGroup("supply_coordinator")
.withLabel("Supply Coordinator"),
api.newReviewSequentialSubSteps(
api.newReviewSubStep()
.withUserGroup("pricing_advisor")
.withLabel("Pricing Advisor"),
api.newReviewSubStep()
.withUserGroup("channel_analyst")
.withLabel("Channel Analyst")
)
)
- Since:
- 14.0 - Caribou Lou
- See Also: