Workflow Block Instance Processing

This section details how to interact with workflow instances by submitting data to different block types within a workflow. It covers both Approval Process Blocks and Data Process Blocks.

Submitting Block Types in Workflow Instances Workflow Block instances are the operational units of the DOVU OS Workflow Engine. Within each block instance, block types define specific stages or actions, such as data submission, validation, or approval processes. This section focuses on two primary block types:

  1. Data Process Blocks: These blocks allow users to submit and store structured data related to the workflow. Typical use cases include collecting user information, project details, MRV data, or geographic data necessary for the workflow's progression.

  2. Approval Process Blocks: These blocks facilitate decision-making steps in the workflow. Users can submit approvals or rejections, with optional messages explaining the decision. This ensures compliance and transparency in workflows requiring oversight or multiple stakeholders.

How It Works

  • Each block is tied to a specific workflow instance ID and acts as a modular step in the broader workflow lifecycle.

  • Each block is tied to a specific role that can act on the block, all roles are connected actors that must be prior connected to a workflow instance from the owner or registry actor.

  • Developers can interact with these blocks via POST requests, submitting data that drives the instance forward or changes its state.

  • Responses from these endpoints include metadata about the workflow instance, enabling further actions or integrations.

Key Use Cases:

  • Submitting project data for environmental credit issuance.

  • Approving or rejecting specific workflow stages to ensure compliance.

  • Using returned data for visualization or tracking in front-end applications.

With these endpoints, developers can manage workflow instances dynamically, ensuring seamless integration of data submissions and approvals into the workflow lifecycle.


Last updated