I have written ecma script for participant step but not abe to get in participant step | Community
Skip to main content
manikanthar1295
Level 5
June 16, 2021
Solved

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

  • June 16, 2021
  • 3 replies
  • 1044 views

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.
Best answer by Bhuwan_B

@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

Vijayalakshmi_S
Level 10
June 16, 2021

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.

Bhuwan_B
Community Advisor
Bhuwan_BCommunity AdvisorAccepted solution
Community Advisor
June 16, 2021

@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

 

Dipti_Chauhan
Community Advisor
Community Advisor
June 17, 2021

Hi @manikanthar1295 

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

 

Thanks

Dipti