Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

The workflow is not in running state it was completed or cancelled

(1) ShareShare
ReportReport
Posted on by 2
The workflow is not in running state it was completed or cancelled
 
I need to approve orders, and this error appears.
Help please
Categories:
  • CU16060926-0 Profile Picture
    2 on at
    The workflow is not in running state it was completed or cancelled

    Hi there,

    This error typically occurs when you're trying to interact with a workflow instance (such as triggering an approval or taking action on a step) after the workflow has already reached a terminal state — meaning it was either completed, canceled, or possibly failed.

    Here are a few things to check and try:

    ✅ 1. Confirm Workflow Status

    Navigate to Advanced Find > Look for Processes > Locate the specific workflow and check its System Jobs:

    • If the workflow shows as Completed, Cancelled, or Failed, it is no longer active and cannot accept further input (like approvals).

    • You’ll need to restart the workflow on the record or create a new instance.

    ✅ 2. Check for Timeout or Exit Conditions

    If the workflow has conditions that could cause it to exit early (e.g., auto-approval logic, missing required data, or a timeout), it may be ending before the approval step is reached. Review the logic in the process designer for conditions that might short-circuit the flow.

    ✅ 3. Use Power Automate Instead (If Applicable)

    If you're using classic workflows and running into limitations, consider migrating the process to Power Automate. It provides better control, logging, and support for wait conditions and approval steps.

    ✅ 4. Re-run or Re-trigger the Workflow

    If this is a test or you're okay reprocessing:


    • Open the affected record.

    • From the ribbon, select Flow > Run Workflow, and choose the workflow again.

    • Ensure the record meets the workflow's entry criteria.


     If you're still seeing the issue after these steps, feel free to share:
    • The type of record you're working with (e.g., Order, Custom Entity).
    • Whether you're using a background workflow, real-time workflow, or Power Automate.
    • Screenshots or more details about when the error appears.
    Happy to help you troubleshoot further, monkey mart!
  • Tom_Gioielli Profile Picture
    1,834 on at
    The workflow is not in running state it was completed or cancelled
    You're going to need to post significantly more information if you hope to have someone be able to help you with this.
     
    • What product are you approving orders in? Business Central, CE, Powerapps?
    • What is the process and how is it supposed to work?
    • Where did this error come into play, and how was it shown to you (are you trying to review logs, opening a web page to do approvals, or what)?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans