How to get participant step dialog values to process step | Community
Skip to main content
Level 3
October 18, 2017
Solved

How to get participant step dialog values to process step

  • October 18, 2017
  • 1 reply
  • 1521 views

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);

    }

}

  }

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 smacdonald2008

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 

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 18, 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