Interface DynamicParticipantExecutor

All Known Implementing Classes:
CQDynamicParticipantExecutor

public interface DynamicParticipantExecutor
Service Interface to support execution of 3rd party dynamic participant selection code.
See Also:
  • Method Details

    • canExecute

      boolean canExecute(String workflowStepResource)
      Returns true if this service can process the specified resource, false otherwise.
      Parameters:
      workflowStepResource - the resource identifying the code to execute for this workflow step.
      Returns:
      true if this service can process the specified resource, false otherwise.
    • getParticipant

      String getParticipant(String resourceName, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)
      Returns the dynamically resolved Principal id
      Parameters:
      resourceName - Resource Name
      workItem - Current workitem
      workflowSession - Workflow session
      metaData - Participant chooser specific arguments can be passed here
      Returns:
      the dynamically resolved Principal id