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

Record document's state transitions on the metadata in M-Files

Last updated on 24 March 2023

Admin
Metadata

Overview

Currently, workflow states are not automatically recorded anywhere in a document's metadata, so users are not able to keep track which state transition was used when workflow state was changed. This may cause issues with compliance where multiple state transitions lead to the same state but have very distinct use cases.

This document describes a way to record the state transition metadata to the document's version history to better reflect the history information of the document. This method requires that the state transitions are named or otherwise the state transition names are listed as (hidden).

image.png

Solution

To record the state transitions which are done to a document we need to create a new text data type property. In this property, we add the value automatically via Simple concatenating of properties. The value here should be %PROPERTY_99% which refers to state transition.

image.png

Next, add this property to the document's properties. This results in the property recording any changes to workflow state that are saved to the metadata. The property will save the name of the workflow state used. 

Now that we have a document with state transitions recorded, we can add a column while viewing the documents history (Ctrl+H) to see what workflow state transition has been used during the document's lifecycle.

image.png

Still need help?

On this page