Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

manikanthar1295
Level 4
Level 4

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
Bhuwan_B
Correct answer by
Community Advisor
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
Vijayalakshmi_S
Community Advisor
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.

Bhuwan_B
Correct answer by
Community Advisor
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

Dipti_Chauhan
Community Advisor
Community Advisor

Hi @manikanthar1295 

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

 

Thanks

Dipti