The process could not be started. : - #{weatherOK}. Cause: Cannot resolve identifier 'weatherOK'

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

the problem is that your service task is not correctly connected to the sequence flows. So it is not being executed. So i’ve put it in the right spot now.
process.bpmn (5.8 KB)

Great @Niall. for your quick response . let me check and update you later .

Thanks it is working

no processes deployed with key ‘SimpleDemo’: processDefinition is null
please help me to reslove this

please reply

Hi @Vignesh_M_Gowda
This is a really old thread - maybe create a new post with more details of what exactly you’re doing and what exactly is going wrong.
As it stands your questions is lacking a lot of context and information, making it hard to answer. I’m going to lock this thread now.