States and transitions

Workflow automation, also known as “robotic process automation,” provides a structured method for storing a sequence of states over which the a document will progress. 

Workflows keep track how a document has been processed so far.

Workflows work by storing a series of states to help you know the “status” of a document, transaction, process, or record. 

To move a workflow from one state to another, transitions are used.

Transitions connect two different states and help provide context to know which state is possible to transition to, from a previous state. Transitions provide and order for the sequence of possible states changes.

Transitions can be executed manually by users if they have the required access level as configured.

Workflows are mainly used to represent business processes. But they can also be used an automation system to customized XDEX and have it perform some tasks automatically.


Besides being able to be executed manually by users, transitions can also be programmed execute automatically based on system events. This is called transition triggering and is one of the tools available to automate business processes.

For example:

Move a document from a “scanned” state to a “billed” state when a tag is attached to the document.

Move a document from a “uploaded” state to a “OCR ready” state when the OCR engine finishes processing the document.

The other tool provided for process automation is being able to execute an action when a workflow state is reached or leaved. These are called state events.

Some examples of state actions currently provided are:

  • Attach a tag to a document
  • Remove a tag from a document
  • Do an HTTP POST request to an external IP address
  • Edit the label or the description of a document.

More state actions are being added.

Some state actions like the one that creates an HTTP POST request allow XDEX to trigger processes in external systems based on the state of a document.

One example of this is triggering the billing process of an accounting system when an invoice is scanned in XDEX.

Workflow state actions and transitions triggers are new features and are still evolving.

Workflows allow translating business logic into a series of states. With the addition of state actions and transition triggers, the workflows in XDEX are no longer just informative but can be part of your actual business automation process. 

This module is the most comprehensive, powerful blockchain-native workflow system in existence.

More XDEX capabilities

Asset Transfers & Payments

XDEX has the ability to send and receive assets to and from any account on the network. Each account can send tokens from their authenticated network wallet to any other named wallet account across the XDEX Network within seconds.


Blockchain Ledger

The core production XDEX Network blockchain is a decentralized protocol based on Delegated Proof of Stake consensus (DPoS).


Document Types

The basic unit of record data in XDEX is the document type, which gets assigned to each document loaded into the network.


Event Logging

XDEX logs and hashes every discreet event at every level across the network to provide immutable tracking of who did what, when, and where.


Key Management & Custody

XDEX has a robust certificate-based key management system that provides users with the ability to import and manage public and private keys for key signing and access control function.



Metadata defines extended information about documents and data objects that enables powerful functions and capabilities.


OCR Processing

XDEX can be configured to automatically runs basic OCR (optical character recognition) on documents imported into the system.



The XDEX Advanced Search system allows network-wide searching of documents, document content, vaults, metadata, users and more.


Trading Engine

XDEX Trading Engine module powers a protocol-based marketplace function built on top of the consensus and operations layer of the XDEX Network blockchain.


Workflow States & Transitions

With the addition of state actions and transition triggers, the workflows in XDEX are no longer just informative but can be part of your actual business automation process.