Hello, Requirement is to create a Servlet Plugin , that fetches the process

Hello,
Requirement is to create a Servlet Plugin , that fetches the process instance key & value pair for a process model id. Here one of the process instance is "CDT" . I need to expand CDT process instance with key & value pair of CDT in the code. Sample piece of code which tried but not aware how to get key & values of the CDT ...

ProcessVariableInstance[] instances = processExecutionService
                                        .getProcessVariables(processDetails.getId());
if (instances[j].getName().equalsIgnoreCase("test_cdt")) {
                                        TypedValue tv = (TypedValue) processExecutionService
                                                            .getProcessVariable(processDetails.getId(),
                                                                                instances[j].getName());

Please help ..how to achieve that ?
...

OriginalPostID-135656

OriginalPostID-135656

  Discussion posts and replies are publicly visible