Problem no 1:
When I run Run us => Maven install I get error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project SimpleDemo: There are test failures.
@mkelton your process is being executed in synchronous passion. So, the weatherOk field was computed but it was not persisted when it reached the gateway. The variable is in-memory and it will be persisted once wait state is reached, so that variable will be accessible.
So if you mark asyncBefore:true (save point) at the exclusive gateway it will persist the variable and available for the gateway expression evaluation.
Looks like I made stupid mistake; I did open class file in Eclipse and it had… no code. I did not know that it requires ‘save’ before compilation - I was expecting ‘runs us’ does it.
But I still do not know how to undeploy application.
If I use Tomcat Manager or simply delete war file - Tomcat removes this application. But ‘SimpleDemo’ remains in Camunda cockpit.
So I remove it using REST with engine-rest/process-definition/SimpleDemo:1:55a8cdb1-b743-11eb-962d-049226bdb658?cascade=true
Yet when I want to deploy it again (using Mangager or copy file into webapps folder) Tomcat says deployed successfully but Camunda cockpit has no application.
I played with restart - no help.