Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM Workflow dialog participant step datasource values not getting populated

Avatar

Level 1

We are facing an issue with workflow, we have a workflow model where we have Added a dialog participant step with a multifield dropdown and its values are getting fetched from data source servlet. I.e. we have created a data source servlet for the same. In the dialog data source node we have added sling resource Type property and mapped it it to servlet path. when we are attaching the workflow on a single page the dropdown values from data source are coming up and getting populated in the dialog participant step but when attaching the same workflow to multiple pages as a package together the data source values are not getting populated from data source in dialog. Could you please help. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@ritika24011989 one thing based on your details, servlet is not being called, so you can do two things, one check the resource type of the node which got created when multi page is selected and it matches with sevrlet resource type, second as it is internal servlet and doesn't need any dispatcher caching, go with path based servelet and datasource config.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@ritika24011989 one thing based on your details, servlet is not being called, so you can do two things, one check the resource type of the node which got created when multi page is selected and it matches with sevrlet resource type, second as it is internal servlet and doesn't need any dispatcher caching, go with path based servelet and datasource config.