ExamGecko
Question list
Search
Search

Related questions











Question 18 - AD0-E134 discussion

Report
Export

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?

A.
String getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
Answers
A.
String getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
B.
void getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
Answers
B.
void getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
C.
String getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
Answers
C.
String getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
D.
void getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
Answers
D.
void getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
Suggested answer: C

Explanation:

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. Reference: https://developer.adobe.com/experience-manager/referencematerials/ cloud-service/javadoc/com/day/cq/workflow/exec/ParticipantStepChooser.html

asked 02/10/2024
Razan Althubaiti
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first