AnsweredAssumed Answered

Evaluate juel expression outside of activiti engine

Question asked by hery1 on Jun 6, 2011
Latest reply on Sep 1, 2015 by saimon

Is there a way to evaluate a juel expression with the value of variables of currently running process outside of the activiti engine?

For example, if I deploy a workflow that internally uses a variable called 'username' and then start an instance of it with the value of username = "hery".
Is there an API in the engine that I can use to evaluate the expression "Hello ${username}" to give me the string "Hello hery" separately from the engine?

From the user guide, I can only see that the way to evaluate a juel expression in the engine is to define the expression needed somewhere in the bpmn20 xml (either for service task, execution listener, task listener or conditional sequence flow).