Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

Block workflow state transition in M-Files if all related objects are not in a specific state

Last updated on 19 October 2026

Overview

In M-Files, workflow state transitions on a main object may need to be restricted based on the workflow states of related objects. A common requirement is to prevent the main object from moving to a final state unless all related objects are in specific allowed states. To ensure that a main object cannot be moved to a target workflow state unless all related objects meet the required conditions, a Compliance Kit Hierarchy Manager configuration can be used instead of a simple workflow precondition.Below is one example configuration.

Solution

  • Phase objects link to Project objects via property Project(s)
  • Projects and Phases have their own workflows
  • You will get an error message if you try to move Project to state "Completed", if any of Phase objects are not either in state "Completed" or in state "Cancelled"

Still need help?

On this page