I have written ecma script for participant step but not abe to get in participant step | Community
Skip to main content
manikanthar1295
Level 5
Jun 16, 2021 12:06 PM UTC
Solved

I have written ecma script for participant step but not abe to get in participant step

Hi,

i have written some ecma script for participant step in workflow.

But i am not able to get that script in Participan step below is scren shot

 

 

Can any one guide me whether i have done in correct manner ecma  script for

 

let me know if any information is needed from my end 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jun 16, 2021 2:09 PM UTC

@manikanthar1295 Please refer to below documentation URL for reference and navigate to Use ECMAScript to dynamically select a user or group section:

https://experienceleague.adobe.com/docs/experience-manager-65/forms/workflows/dynamically-select-a-user-or-group-for-aem-workflow.html?lang=en

 

3 replies

Dipti_Chauhan
New Participant
Jun 17, 2021 5:47 AM UTC

Hi @manikanthar1295 

   I think you are using participant step instead of Dynamic Participant Step . Can you verify again?

 

Thanks

Dipti

Translate
Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jun 16, 2021 2:09 PM UTC

@manikanthar1295 Please refer to below documentation URL for reference and navigate to Use ECMAScript to dynamically select a user or group section:

https://experienceleague.adobe.com/docs/experience-manager-65/forms/workflows/dynamically-select-a-user-or-group-for-aem-workflow.html?lang=en

 

Translate
Vijayalakshmi_S
Level 10
Jun 16, 2021 2:04 PM UTC

Hi @manikanthar1295,

Starting 6.4, OOTB workflow scripts location is /libs/workflow/scripts.

We can create custom ones by overlaying from being in the path /libs/workflow/scripts -> Overlay Node option (check Match node types) -> will result in /apps/workflow/scripts and create new .ecma file or you can copy any existing script and amend on top of it with updated jcr:title.

Try this and check if it works.

 

If you still face issues, share details of AEM version and exact workflow component that you are trying to locate the participant chooser to.

Translate