AnsweredAssumed Answered


Question asked by b.schnarr on Nov 18, 2014
Latest reply on Dec 5, 2014 by trademak
Hello at all,

I have a question concering the Activiti Java-API RuntimeService-method

void setVariable(String executionId, String variableName, Object value) 

you can set variables for a corresponsing task, that is clear. But I do not understand how Activiti determines the datatype of the variable. Lets say I have a duedate (type date), or a boolean or a decimal….When I use this method, I simply pass an object variable. How does activiti know the datatype of the variable?

Thanks and best regards