Package com.day.cq.workflow.exec
Interface ParticipantStepChooser
public interface ParticipantStepChooser
The
ParticipantChooserNew interface is intended for impls that
will define the participant dynamically.
This interface replaces the deprecated ParticipantChooser interface.- Since:
- 5.4
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant denoting the name of the label service property. -
Method Summary
Modifier and TypeMethodDescriptiongetParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) Returns the dynamically resolvedPrincipalid
-
Field Details
-
SERVICE_PROPERTY_LABEL
Constant denoting the name of the label service property. Value = "chooser.label"- See Also:
-
-
Method Details
-
getParticipant
String getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException Returns the dynamically resolvedPrincipalid- Parameters:
workItem- Current workitemworkflowSession- Workflow sessionargs- Participant chooser specific arguments can be passed here- Returns:
- the dynamically resolved
Principalid - Throws:
WorkflowException- When an error is generated
-