Loading

Industries Order Management Orchestration Items Stuck in Pending

Дата публикации: Oct 15, 2026
Описание

Issue

After you submit an order in Industries Order Management (OM), the orchestration plan is created, but every orchestration item stays in Pending status. No item starts or completes, so the order never moves to fulfillment. This pattern can affect any order whose orchestration plan definition contains a circular dependency.

Symptoms

  • The orchestration plan exists for the order, but all items show Pending.
  • No item moves out of Pending, not even the first item in the plan, such as a starting milestone.
  • Callouts in the plan never run, so external fulfillment systems receive no request.
  • The behavior repeats for every new order that uses the same orchestration plan definition.

Root Cause

The orchestration plan definition contains a circular dependency. Orchestration dependency definitions set the sequence in which tasks run: an item waits for the items it depends on. A loop forms when Item A depends on Item B and Item B (directly or through a chain of other items) depends on Item A. In that case, each item waits for the other and neither can start. Every item downstream of the loop also waits, so the whole plan stays Pending.

For Example:

  • A milestone item that marks the start of the order. It is meant to complete first.
  • A callout item that sends the disconnect request to an external system. It is configured to depend on the starting milestone.

An extra dependency also made the milestone depend on the callout. A milestone completes only when its prerequisite items are complete. The milestone waited for the callout, and the callout waited for the milestone. Neither could start, and all items stayed Pending.

This is a configuration issue in the orchestration plan definition, not a product defect.

Решение

Break the loop: delete the dependency that points the wrong way. Then submit a new order to confirm that the plan progresses.

Before you start

  • Make sure that you have access to view and edit the orchestration plan definition and its orchestration item definitions and dependencies.
  • Make and test changes in a sandbox first. Changes to an orchestration plan definition affect every new order that uses it.
  • Record the current dependencies, so you can roll back if needed.

Steps

  1. Open the order that is stuck. Then open its orchestration plan and confirm that all items show Pending. If only some items are Pending, see "If items are still Pending" below.
  2. Identify the orchestration plan definition that the plan was created from.
  3. Open that orchestration plan definition and list its orchestration item definitions.
  4. Start with the item that should run first, usually a starting milestone. Open its item definition and review its orchestration item dependencies (the items it waits for).
  5. For each item it depends on, review that item's dependencies too. Follow the chain until you return to an item you already checked. A return to an earlier item confirms a circular dependency.
  6. Decide which dependency in the loop is wrong. In the reported case, it was the dependency that made the starting milestone wait for the callout item.
  7. Delete only that dependency. Keep the dependencies that set the intended sequence.
  8. Save your changes.
  9. Submit a new test order that uses the same orchestration scenario.
  10. Verify the fix. The first item (for example, the starting milestone) completes, and downstream items, including callouts, leave Pending and progress in sequence.

If items are still Pending

  • Check for a longer loop. A loop can pass through three or more items. Repeat steps 4–5 for every item that is still Pending.
  • Check for dependencies across swimlanes. Items can depend on items in other swimlanes (other orchestration plan definitions). Review dependencies that point to items outside the definition you edited.
  • Rule out a different cause. If some items completed and only later items are Pending, the plan may not contain a loop. Review the state and error details of the last item that ran. For example, a failed callout can be retried or moved to an error queue, and a push event pauses the process until a specific change is made to the order line item or fulfillment request line.
  • Handle existing stuck orders. This article covers correcting the plan definition and confirming the fix with a new order. If orders that were already stuck still don't progress, work with your implementation team or Salesforce Support to decide how to handle them.
  • Contact Salesforce Support if none of these checks finds the cause. Include the order number, the orchestration plan definition name, and a screenshot of the item dependencies.
Номер статьи базы знаний

000396319

 
Загрузка
Salesforce Help | Article