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:
    ParticipantChooser
    • 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 - When an error is generated