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

How to get participant step dialog values to process step

Avatar

Avatar
Validate 10
Level 2
veerareddyc2547
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
veerareddyc2547
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
veerareddyc2547
Level 2

18-10-2017

HI Team,

Is it possible to get dynamic participant step dialog values to customized process step, if possible could you please guide me how to proceed.

i am getting null in value1:

my code is :

DynamicParticipant :

public class MyDynamicParticipant implements ParticipantStepChooser{

   public String getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException {

        WorkflowData workflowData = workItem.getWorkflowData();

        String myID = args.get("COMMENT").toString();

      LoggerUtil.infoLog(this.getClass(), "####  Reading Dialog information ... {}", myID); 

      workItem.getWorkflowData().getMetaDataMap().put("MyIDkey", myID);    

     

    }

}

Process :

public class CustomStep implements WorkflowProcess{

@Override

public void execute(WorkItem item, WorkflowSession wfsession,MetaDataMap args) throws WorkflowException {

try

{

       String value1 = item.getWorkflowData().getMetaDataMap().get("MyIDkey", java.lang.String.class);

     LoggerUtil.infoLog(this.getClass(), "current page path information ... {}", value1);

    }catch (Exception e)

    {

    LoggerUtil.applicationErrorLog(this.getClass(), "****** An Exception occurred while executing getToggleButtons() ::  {} ", e);

    }

}

  }

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

18-10-2017

To learn about how to develop a custom Adobe Experience Manager (AEM) Dynamic Participant workflow step - see:

Adobe Experience Manager Help | Creating a custom Adobe Experience Manager Dynamic Participant step 

Answers (0)