Camunda Installation and Integration

@shailender use this bpmn.

process.bpmn (5.4 KB)

And your delegate should be like:

public class CheckWeatherDelegate implements JavaDelegate {

@Override
public void execute(DelegateExecution execution) throws Exception {	
	Random rando=new Random();
	execution.setVariable("name", "Shailender" );
	execution.setVariable("weatherOk",rando.nextBoolean());
 }
}