Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Dialog participant data persistence throughout all workflow stages.

Avatar

Level 1

I have an requirement where my dialog participant data should get persisted throughout the workflow stages ,for ex.  when requester is filling a dialog data form ,same data should go to next participant step so that it can be reviewed and approved or rejected.

I can read the data by using below code

List<HistoryItem> history = wksessioin.getHistory(item.getWorkflow());

     Iterator<HistoryItem> historyIterator = history.iterator();

    

  

     while (historyIterator.hasNext()) {

                previousHistoryItem = historyIterator.next();

                stepType = previousHistoryItem.getWorkItem().getMetaDataMap();

 

     //Set the Map that is used to pass values to other workflow steps

    item.getWorkflowData().getMetaDataMap()

but I want same data to be available throughout all stages of workflow and should be visible to all approvers.

1 Reply