Event for changing a variable during any point of the process flow

I have the following business requirement. A process was started using some variables. The value of those variables should be able to be changed any time during the process execution (meaning, regardless of the actual activity, that the process is executing at the moment). How can I model such a scenario? Can I add an event that is not activity scope but rather process instance scope? Or some kind of a task that is “out” of the flow but still in part of the process?


I am not sure whether variable change should be covered by the process model. I would just simply call API (REST or java) to change variable value.