Expand my Community achievements bar.

SOLVED

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

Avatar

Level 6

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

 

manikanthar1295_0-1623845078752.pngmanikanthar1295_1-1623845130707.png

 

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 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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-u...

 

View solution in original post

3 Replies

Avatar

Community Advisor

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.

Avatar

Correct answer by
Community Advisor

@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-u...

 

Avatar

Community Advisor

Hi @manikanthar1295 

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

 

Thanks

Dipti