Nected Docs
Try Nected For Free
  • 5 min QuickStart Guide
  • Getting Started
    • Introduction
    • Core Concepts
    • Use Cases
    • Tech Architecture
    • FAQs
  • INTEGRATIONS
    • Overview
    • Integrations Libraries
      • PostGres
      • MySQL
      • Oracle
      • MS SQL Server
      • Snowflake
      • MongoDB
      • RedShift
      • REST API
      • Google Sheets
      • Slack
    • Managing Integrations
  • DATASETS
    • Overview
    • Managing Dataset
  • Rules
    • Overview
    • Rule Types
      • SimpleRule
      • DecisionTable
      • Ruleset
      • Rule Chain
    • Rule Conditions
    • Rule Actions
    • Concepts
      • Rule Result
      • Test & Publish Rules
    • Add Input Attributes
      • JSON Input Attributes
      • List Input Attributes
  • Triggers
    • Trigger Rule via API
    • Trigger Rule via WebHook
    • Trigger Workflow via API
    • Trigger Workflow via WebHook
    • Scheduler
    • Rule Response Format
  • Workflow
    • Overview
    • Managing Workflow
    • Add Node
      • Action Nodes
        • Rule Node
        • Workflow Node
        • Custom Code Node
        • Database Node
        • REST API Node
      • Control Nodes
        • Loop Node
        • Delay Node
        • Response Node
        • Set Variables Node
        • Switch Block
    • Test & Publish Workflows
  • CODE AND DATABASE QUERIES
    • JavaScript Editor
    • Formula Editor
    • JSON Editor
    • List Editor
    • Excel-like Function
  • Embedded System
    • White-Labelling
    • Embeddable View
  • Self Hosting
    • Overview
    • Infrastructure Sizing
    • New Installation
      • Docker
      • Kubernetes
        • Set Up Kubernetes Cluster on AWS EKS
    • Additional Configuration
      • High Availability
      • Email Setup Guide
    • Upgrade Nected Version
  • Security
    • API Authentication
      • OAuth as part of Authentication under REST API
    • Role Based Access Control (RBAC)
    • SOC 2 Type 2, GDPR, ISO Compliance
  • Audit
    • Audit Trail
    • Approval Flow
    • Version Control & Rollback
    • Import/Export
  • Management API
    • Audit Log API
    • Global Variable API
  • References
    • Attribute Library
    • Global Variables
    • Pre-Configured Tokens
    • Pre-Configured Operators
    • NULL Value Handling/Behavior
    • Troubleshooting Errors
      • Multiple Tabs/Users Edits
      • Limits in Nected
    • Allowed Status Combinations
    • Environments
    • Usage Widget
    • Gen AI
  • ACCOUNT SETTINGS
    • Workspace Setting
      • Date Format and Timezone Settings
Powered by GitBook
On this page
  • Testing a Workflow
  • Publish a Workflow
  • Versioning:
  1. Workflow

Test & Publish Workflows

PreviousSwitch BlockNextJavaScript Editor

Last updated 8 months ago

Nected allows you to test workflows in a staging environment before deploying them to production. This helps to ensure that your rules are working as expected. To test a rule, click the Test in Staging button.

Testing a Workflow

Testing a workflow is pretty straightforward, just click on the Test in Staging button and it will take you to the test workflow tab. However, before testing a workflow, make sure that:

  1. You've provided proper input data to all added nodes.

  2. All added Nodes are tested.

In the "Test Workflow" tab after you click the "Test Now" button, you'll see something like this:

As a result of testing the workflow, you can see three columns there in the screen.

  1. Steps: This column is for showing the particular node. You can check if the node has been correctly executed from the ✅ mark at the right side of the node name.

  2. Input: In the input column all the input attributes for that particular node are given.

  3. Result: The result tab is the same as in the rule result window. Here is the execution result along with its Output and Action name and status(if all conditions are met). Inside the output tab you'll get two options: Raw and Pretty. These two are the low code and no code mode to check your output values respectively.

Always test every node and the overall workflow, before Publishing your workflow.

Publish a Workflow

The publishing flow for workflows involves a structured process to ensure changes are properly documented, reviewed, and versioned. Here are the detailed steps:

The workflow starts in a draft state. You can make any necessary edits to ensure it meets your requirements. Once you've done with the editing, you now can do two things:

  1. Publish your workflow: If you don't want to review your workflow by an approver, then you can also directly publish your workflow in production. Here is how you can do that:

    • When you are ready to publish, click the "Publish" button.

    • Title and Description: A prompt will appear asking for a title and description of the changes. This information helps maintain a clear version history.

    • Confirm Publishing: After providing the title and description, click the publish button to move the workflow to production. The workflow is now published and it will create a new published version that you can access from the Publish tab of the Version Control section. This version is live in the production environment.

By following these detailed steps, users can effectively manage the publishing and rollback processes for their rules and workflows, ensuring high-quality and reliable outputs.

To make a Workflow in Production, You must test all the nodes separately or run "Test in Staging", otherwise the Workflow won't be published.

Versioning:

Submit it for Review: If you're working in a team, and there is a reviewer, then you can assign the reviewer and submit the workflow in review. Then it will go into the review flow, which you can read from .

For more details about version control, and rolling back to a previous version, read the doc.

Every publish creates a new version of the workflow and you can always view the last published version along with the current draft. You can now control the version of a workflow, and rollback to its previous version using our Version Control& rollback feature. You can read more about it in .

Approval Flow
Version Control
versioning & rollback