Interface ParticipantStepChooser


  • public interface ParticipantStepChooser
    The ParticipantStepChooser interface is intended for impls that will define the participant dynamically.
    • 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 resolved Principal id
        Parameters:
        workItem - Current workitem
        workflowSession - Workflow session
        args - Participant chooser specific arguments can be passed here
        Returns:
        the dynamically resolved Principal id
        Throws:
        WorkflowException - thrown in case something goes wrong during execution