Interface RuntimeInstanceStateChangeCallback
- All Known Implementing Classes:
ChildBpmnCaseInstanceStateChangeCallback, ChildCaseInstanceStateChangeCallback, ChildProcessInstanceStateChangeCallback
public interface RuntimeInstanceStateChangeCallback
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonError(CallbackData callbackData, BusinessError error) Called when an uncaughtBusinessErroroccurs in a child instance that has a callback to a parent instance in another engine.voidstateChanged(CallbackData callbackData)
-
Method Details
-
stateChanged
-
onError
Called when an uncaughtBusinessErroroccurs in a child instance that has a callback to a parent instance in another engine. This allows cross-engine error propagation. The default implementation re-throws the error (backward compatible). Implementations can override to propagate the error to the parent engine.- Parameters:
callbackData- the callback data identifying the parent instanceerror- the business error that was not caught in the child instance
-