I am new to camunda . Followed the instruction based on 2 - Camunda Tutorial for Java Developers on Vimeo .
i am getting below exception while start the process.
The process could not be started. : Cannot instantiate process definition camundademo:3:25ea5c65-1bb4-11e9-94f3-36e12d236973: Unknown property used in expression: #{weatherOK}. Cause: Cannot resolve identifier ‘weatherOK’
process.bpmn (5.3 KB)
Attached is my bpmn file for review.
java code
public void execute(DelegateExecution execution) throws Exception {
Random random = new Random();
execution.setVariable("name", "spade");
execution.setVariable("weatherOK", random.nextBoolean());
}
do we need to create any variable manually. please confirm