Process Component Considerations
When mapping the selected resolution type to a PlanItemFailedResponse to send to Orchestrator, there are some considerations regarding this and the nature of the process component implementation, i.e. whether it executes multiple steps, or is atomic.
For process components that implement multiple steps (e.g. a BE process component):
- A Retry action means the entire process component will be re-executed. If what is required is just the current step to be retried, a Resume action should be specified, not retry.
- A Complete action means the process component will not be invoked again in any way, and the plan item will simply be marked as complete.
-
A distinction needs to be made between a Resume where the current step needs to be retried, or skipped. There is no way to do this on the PlanItemFailedResponse message, so this needs to be managed another way, e.g. by setting a UDF on the plan item to indicate which is required.
Copyright © Cloud Software Group, Inc. All rights reserved.