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 (Example: a BE process component):

  • A Retry action means the entire process component is re-executed. If what is required is just the current step to be retried, a Resume action must be specified, not retry.
  • A Complete action means the process component is not invoked again in any way, and the plan item is 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, Example: by setting a user-defined field on the plan item to indicate, which is required.