Modeler error

Tut.bpmn (5.2 KB)

Tests in error:
testHappyPath( Unknown property used in expression: #{weatherok}. Cause: Cannot resolve identifier ‘weatherok’

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------

would you please assist with the following error?

Can you upload the java class you’re running

@serge refer the below post, might help you.

Hi There,
Can you please advise on how to implement the solution.
I am new to programming and seem not to get everything very well at this point.
Just a guide step on how to address the issue



package com.serge.demo.tut1;

import java.util.Random;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;

public class CheckweatherDelegate implements JavaDelegate {

public void execute(DelegateExecution execution) throws Exception {
	// TODO Auto-generated method stub

Random rando = new Random();
execution.setVariable(“weatherok”, rando.nextBoolean());



It looks like the page name doesn’t match the class that your calling.

Hi Nail,

I copied a bpmn file you posted on one the thread and pasted under src/main/ressources /process.bpmn . but even when creating a new project with my own class names .it’s still gives me the same error.


process.bpmn (5.4 KB)

I still get the same error even when the page matches the class.


From the model you’ve uploaded there’s a clear problem.
The sequence flow leaving the Check Weather task (marked in yellow) has a condition on it, while the sequence flow leaving the gate way (marked in green) done not.

You need to remove the condition on the yellow flow and add a condition on the green flow.

1 Like