QuestionQ48

VerifiedGiven a scenario, identify how to implement OSGi services and servlets

A developer must create a dynamic participant step in which the participant is automatically selected at run time.

The developer chooses to build an OSGi service that implements the com.day.cq.workflow.exec.ParticipantStepChooser interface.

Which method from the com.day.cq.workflow.exec.ParticipantStepChooser interface must the developer implement?

Explanation

ParticipantStepChooser requires getParticipant(WorkItem, WorkflowSession, MetaDataMap) to return a String, which represents the dynamically resolved participant principal ID.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!