A developer needs to create a dynamic participant step where the participant is selected automatically at run time.
The developer decides to develop an OSGi service, which needs to implement the com.day.cq.workflow.exec.ParticipantStepChooser interface.
Which method should the developer implement from the com.day.cq.workflow.exec.ParticipantStepChooser interface?
Correct Answer: C
The com.day.cq.workflow.exec.ParticipantStepChooser interface is intended for implementations that will define the participant dynamically. This interface replaces the deprecated com.day.cq.workflow.exec.ParticipantChooser interface. The method getDynamicParticipant returns the dynamically resolved Principal id based on the work item, workflow session and metadata map parameters.References:https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javad