Package com.adobe.granite.workflow.exec
Interface ParticipantStepChooser
public interface ParticipantStepChooser
The
ParticipantStepChooser interface is intended for impls that
will define the participant dynamically.-
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- thrown in case something goes wrong during execution
-