Boolean expression cannot resolve identifier

Hi @gra,

the process state is stored to the database only when a transaction is ended.
A transaction is ended when a wait state is reached (https://docs.camunda.org/manual/latest/user-guide/process-engine/transactions-in-processes/#wait-states) or using asynchronous continuations.

In your above model, the evaluation of the condition is reached in the same transaction started the process as there are no wait states before. which means your variables haven’t been stored to the database yet.

Please set asyncAfter attribute of “Check weather” service task to true. as below

camunda:asyncAfter="true"

This way, asynchronous continuations will break the execution flow (end the transaction) & your variables will be stored before execution reaches the gateway.

https://docs.camunda.org/manual/latest/user-guide/process-engine/transactions-in-processes/#understand-asynchronous-continuations

1 Like