Implementing the ProcessEventListener and using the ProcessStartedEvent, I'd like to get a list of process variables (name and value). Using the ProcessStatedevent, I get a process instance (e.g., event.getProcessInstance()). But, I could not figure out an API to get a list of variables. I casted the process instnace to the ContextInstance, but no luck.
Any help will be appreicated.
Thanks,
--bwj