To manage long running remote REST tasks (http request - http callback) by the BPM process we need a WIH that hides a boilerplate process flow.
WIH should support:
- http invocation and wait for a callback
- (graceful) timeout
- (graceful) cancel
- request retry
- conditional execution based on completion status (success/failed/timeout/cancel)