Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Academy
    • Technical
      • Documentation
      • Release notes
      • Free trial
      • Download center
    • Support
      • Community
      • Contact
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Office 365 and Microsoft Azure integration
        Use Azure or Office 365 services to exchange the data with M-Files

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format for process analysis

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Academy
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Free trial
    • Support
      • Community
      • Contact
Get started free
Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Academy
    • Technical
      • Documentation
      • Release notes
      • Free trial
      • Download center
    • Support
      • Community
      • Contact
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Office 365 and Microsoft Azure integration
        Use Azure or Office 365 services to exchange the data with M-Files

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format for process analysis

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Academy
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Free trial
    • Support
      • Community
      • Contact
Get started free
Triggering options and State actions
  • Do more with M-Files

Extension Kit for M-Files | Documentation

Getting Started

  • About Extension Kit Core
  • User Interface
  • Groups and Modules
  • Installation

Essentials

  • How to Create Rules
  • Rule Execution
  • Common Features

Configurations

  • Orchestrator
    • About the Module
    • Configuration
    • Use Cases
  • Embedded Dashboards
    • Module Introduction
    • Configuration
  • Object Templates
    • About the Module
    • Configuration
    • Use Cases
  • Property Calculations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Calculation options
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Property Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Target-related Options
      • Property error handling behaviour and Act as user
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Document Processing
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and State actions
      • Action: Convert to PDF or Undo PDF conversion
      • Action: Add or Remove watermark
      • Action: Add or Remove signature
      • Action: Merge or Undo merge documents
      • Action: Restore original / Sync file names with object title
      • Action: Add or Read barcode
      • Action: Add, Replace or Remove file / Add blank page
      • Add digital signature
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto State Transition
    • About the Module
    • Configuration
    • Use Cases
  • E-mail Notifications
    • Module Introduction
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
    • Simple Rule Configuration
      • Triggering options
      • Mail server
      • Email configuration
      • Delivery notification and Properties
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Extended Assignments
    • About the Module
    • Configuration
    • Use Cases
  • Extended Auto Properties
    • About the Module
    • Configuration
    • Use Cases
  • Extended Permissions
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Permission Options
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto Numbering Properties
    • About the Module
    • Configuration
    • Use Cases
  • Object Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Action: Create objects
      • Action: Duplicate objects
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Property Builder
    • About the Module
    • Configuration
    • Use Cases
  • Validation
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Property validation rules
    • Advanced Rule Configuration
      • Advanced rule configuration
      • Advanced Property validation rule configuration
  • SQL Integration
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and Execution mode
      • SQL settings: Value from and Connection string
      • SQL settings: Query and Rollback query
      • Property setting options
    • Advanced rule configuration
      • Advanced rule configuration
  • HTTP Integration
    • About the Module
    • Configuration
    • Use Cases
  • Excel Reader
    • About the Module
    • Use Cases
    • Configuration
  • Excel Writer
    • About the Module
    • Configuration
  • Word Reader
    • About the Module
    • Configuration
  • Word Writer
    • About the Module
    • Configuration
  • Extension Methods
    • About the Module
    • Use Cases
    • Configuration
  • Versioning
    • About the Module
    • Configuration
    • Use Cases
  • Reporting
    • About the Module
    • Configuration
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
  • Data Transfer
    • Configuration
    • Use Cases
  • Vault to Vault
    • About the Module
    • Configuration
    • Use Cases
  • Logging
    • Logging
  • Archiving
    • Module Introduction
    • Simple Rule Configuration
      • Triggering options
      • Action type: Compress
      • Action type: Decompress
    • Advanced Rule Configuration
      • Advanced Rule Configuration

Resources

  • Roadmap
  • Extension Kit Academy
  • Community and Support
  • FAQs
  • Release Notes
View Categories
  • Home
  • Documentation
  • Extension Kit Core
  • Configurations
  • Document Processing
  • Simple Rule Configuration
  • Triggering options and State actions

Triggering options and State actions

In the Document Processing module, actions are triggered by changes in workflow states. First, specify the workflow state, then define the corresponding state action.

Workflow #

This is a workflow filter for states. Select from a list of workflows within a particular vault. The workflows are referenced by a GUID, ID or alias.

Workflow state #

Specify the workflow state in which selected action will be executed. Select from a list of available workflow states within a particular workflow. NOTE! If you have entered a workflow state, you must also specify the workflow above.

State actions #

The State Actions options allow you to configure various actions to modify documents when they enter a specific workflow state. You can set up multiple state actions within a single rule. For instance, you might configure a rule so that when a contract enters the state Active, the Draft watermark is removed and the contract is automatically converted to a PDF.

  1. Expand State actions.
  2. Click on Add State action.
  3. Expand State Action [1].

Within this section, you’ll find the following fields: Name, Description, Enabled, Action, and Act as user. After specifying the action, additional fields for configuration open up.

Name #

State Actions > State Action [1] > Name

Specifies unique action name, for example: Remove watermark.

Description #

State Actions > State Action [1] > Description

Optionally, specifies action description, for example: When a document is approved and active, remove DRAFT watermark.

Enabled #

State Actions > State Action [1] > Enabled

Determines whether the state action is active. This is especially useful when multiple state actions are configured within a single rule, allowing you to enable or disable specific actions as needed. Choose one of the following options:

  • Yes (default): The action is enabled and will be executed.
  • No: The action is disabled and will not be executed.

Action #

State Actions > State Action [1] > Action

Specifies the type of action that will be executed when an object enters a defined workflow state. Depending on the selected action, additional fields for configuration are available. Select from the following options:

  • ConvertToPdf: Convert documents from Word, Excel, or text formats to PDF. If this action is selected, the Filename wildcard needs to be specified.
  • UndoPdfConversion: Revert the PDF conversion. If this action is selected, the Filename wildcard needs to be specified.
  • AddWatermark: Create watermarks using pictures or text, imported from objects or local disks. If this action is selected, the Filename wildcard and Remove any existing watermark need to be specified, and the additional configuring options are available within the Watermarks section.
  • RemoveWatermark: If this action is selected, the Filename wildcard needs to be specified.
  • AddSignature: Add and modify signatures. If this action is selected, the Filename wildcard and Remove any existing signatures need to be specified, and the additional configuring options are available within the Signatures section.
  • RemoveSignature: If this action is selected, the Filename wildcard needs to be specified.
  • MergeDocuments: Merging two PDF files results in a single PDF file. Merging two Word files produces a single Word file. Merging a PDF file with a Word file results in a PDF file. If this action is selected, the Filename wildcard and Merged file action need to be specified, and the additional configuring options are available within the Merge files section.
  • UndoMergeDocuments: If this action is selected, the Filename wildcard needs to be specified.
  • RestoreOriginal: If this action is selected, the Filename wildcard needs to be specified.
  • SyncFileNamesWithObjectTitle: Synchronize file names with their object titles If this action is selected, the Filename wildcard needs to be specified.
  • AddBarcode: If this action is selected, the Filename wildcard needs to be specified, and the additional configuring options are available within the Barcodes section.
  • ReadBarcode: If this action is selected, the Filename wildcard needs to be specified, and the additional configuring options are available within the Barcodes section.
  • AddOrReplaceFile: If this action is selected, the additional configuring options are available within the File section.
  • RemoveFile: If this action is selected, the additional configuring options are available within the File section.
  • AddBlankPage: If this action is selected, the additional configuring options are available within the BlankPage section.

Act as user #

State Actions > State Action [1] > Act as user

Impersonate the user when executing an action. When expanded, the Type field is available.

Type #

Act as user > Type

Specifies impersonation type. Based on this setting, the following users are set as Last modified by after the rule is executed.

  • None: M-Files Server.
  • LastModified: The last user who modified this object before the rule was executed (it can also be M-Files Server).
  • LastActualUserModified: The last real user account that made changes on this object.

Configuration #

State Actions > State Action [1] > Configuration

The Configuration section provides various options depending on the selected action. Descriptions of these options are organized by the corresponding action. For detailed configuration instructions for each action, please refer to their respective pages.

Updated on May 1, 2025
On This Page
  • Workflow
  • Workflow state
  • State actions
    • Name
    • Description
    • Enabled
    • Action
    • Act as user
    • Type
    • Configuration
Extension Kit for M-Files | Unitfly
Extension Kit for M-Files | Unitfly
  • Solutions

Products

  • Extension Kit Core
  • Extension Kit Document AI
  • Extension Kit REST Object Type
  • Extension Kit Cloud Connector
  • Extension Kit Process Intelligence

Resources

  • Documentation
  • Community
  • Insights
  • Extension Kit Academy
  • Release notes

Get started

  • Pricing
  • Free trial
  • Contact us
  • Download center
Get updates and tips on Unitfly products!
Products Newsletter
Extension Kit Tip of the Week
Auclio Newsletter
  • Privacy & Cookie policy

© 2025 Unitfly

zicer logo negative
hamag bicro logo