AnsweredAssumed Answered

is it possible to cast Execution to DelegateExecution

Question asked by jaiwo99 on Mar 1, 2012
Latest reply on Mar 1, 2012 by jaiwo99
Hi all,

i have just a question, does somebody know, if i can cast Execution to DelegateExecution, so i can get the variables, here is an example:
Map<String, Object> properties = ((DelegateExecution) getRuntimeService().createExecutionQuery().processInstanceId(processInstanceId).singleResult()).getVariables();

or should I get the varaibles in some other ways?

Thx, James