I have a POST API exposed, where I set a variable like following runtimeService.setVariable(executionId, "testVar", "some value");
My requirement is that once variable gets set by above mentioned API, I want to send a notification to user task form on front end… How can I achieve this…
If you want to respond to a process variable update, to trigger some additional behavior, then have a look at Conditional Events . You can add a conditional boundary event on a user task for example.