Package com.adobe.granite.workflow.exec
Interface ParticipantStepChooser
-
public interface ParticipantStepChooser
TheParticipantStepChooser
interface is intended for impls that will define the participant dynamically.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_PROPERTY_LABEL
Constant denoting the name of the label service property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)
Returns the dynamically resolvedPrincipal
id
-
-
-
Field Detail
-
SERVICE_PROPERTY_LABEL
static final java.lang.String SERVICE_PROPERTY_LABEL
Constant denoting the name of the label service property. Value = "chooser.label"- See Also:
- Constant Field Values
-
-
Method Detail
-
getParticipant
java.lang.String getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
Returns the dynamically resolvedPrincipal
id- Parameters:
workItem
- Current workitemworkflowSession
- Workflow sessionargs
- Participant chooser specific arguments can be passed here- Returns:
- the dynamically resolved
Principal
id - Throws:
WorkflowException
- thrown in case something goes wrong during execution
-
-