Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: How to get a list of process variable (name and value) from the processInstance
object?"
To view the discussion, visit:
https://community.jboss.org/message/753997#753997
--------------------------------------------------------------
Try with following code:
VariableScopeInstance variableScope = (VariableScopeInstance)
processInstance.getContextInstance(VariableScope.VARIABLE_SCOPE);
Map<String, Object> variables = variableScope.getVariables();
just make sure that process instance is of type org.jbpm.process.instance.ProcessInstance
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/753997#753997]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]