Test & Deploy Guide
This guide covers the complete testing and deployment workflow in Softyflow, including running tests and managing versions across different environments. Everything described here happens in the Deploy mode of a project (mode bar at the top right, or Alt + 3), except the tests, which start from the builders and are followed in the Run mode.
Before testing and deploying, ensure you've built your application components: web interfaces, processes, database integrations, external integrations, and reports.
1. Testing Your ApplicationDirect link to 1. Testing Your Application
Softyflow provides multiple ways to test your application components:
1.1. Component-Level TestingDirect link to 1.1. Component-Level Testing
- UI Testing: Test individual user interfaces in isolation
- Process Testing: Execute workflows step-by-step to validate business logic
- API Testing: Verify API endpoints and data flow
- Report Testing: Validate report generation and data accuracy
1.2. Integration TestingDirect link to 1.2. Integration Testing
- Test complete workflows from UI to backend processes
- Validate data flow between different components
- Ensure proper integration between APIs and databases
1.3. Real-Time Process Testing ExampleDirect link to 1.3. Real-Time Process Testing Example
Let's walk through a real-time test of a process: start an instance, follow its execution and inspect the result.
In the process builder, click Start Process in the action rail on the right. The Test the process dialog asks for the Environment (Test, UAT or Prod) and the Starting data (JSON) of the instance; click Start to launch it. In TEST, the instance always runs the latest saved resources.

Then switch to the Run mode of the project (Alt + 4). The Instance tracking page lists the instances of the chosen environment with their status (Running, Completed, In error, Paused), the process, the creation date and the creator.

Switch the table to Tasks to see the user tasks created by your instances. Open a task to fill in its form and move the workflow forward, as a real user would.

Click an instance to open its detail page: its status and environment, a Progress card (steps done, current step, duration), the process and version it follows, and its views (Schema, Variables, Measures, Tasks, Sub-processes when it started some, Logs, Errors).

The Schema view highlights the path taken by the instance: done steps in green, the running step in orange, errors in red. It helps you spot a step that did not behave as expected.

Finally, the Variables view shows every variable of the instance and its value, to check that the data is correctly processed throughout the workflow. See Monitor & Run for every view of an instance.
2. Version Management SystemDirect link to 2. Version Management System
A version freezes the resources of the project (interfaces, processes, APIs, reports, value lists) at given resource versions. It starts as a Draft, deployed nowhere, then goes to UAT and to Prod. TEST always runs the latest resources and is never linked to a version.
2.1. Version Schema StructureDirect link to 2.1. Version Schema Structure
Each version stores its name, description, status (Draft, UAT or Prod), whether it has already been pushed to production and whether it is archived, the included resources with the resource version of each (interfaces, processes, APIs, reports and value lists), and who updated it and when, ensuring full traceability. The environments use it as follows: TEST always runs the latest saved resources, UAT and PROD run the resources of the version deployed there.

2.2. Creating and Managing VersionsDirect link to 2.2. Creating and Managing Versions
2.2.1. The Versions PageDirect link to 2.2.1. The Versions Page
Open the Deploy mode of the project to reach the Versions page. It shows:
- Four counters: Total versions, Drafts, In UAT and In Prod (with the number of versions already pushed to prod).
- Three tabs: Active versions, Archived versions and Used in production (versions with unfinished production instances, archived ones included).
- The list of versions with their Status, the live number of Prod instances (running, paused or failed production instances; ended instances are excluded), the last update, and the row Actions: Archive, Duplicate, Delete and open. A star marks a version that has already been pushed to production.

Click New version (top right, or New version in the dock). The card asks for a Name and a Description; the Status is always Draft. Click Create the version, then open it to choose its resources. When the project has no version yet, the page also offers Quick deploy to production: every latest resource of the project is gathered in a version and deployed straight to Prod.

2.2.2. Resource Selection and VersioningDirect link to 2.2.2. Resource Selection and Versioning
Open a version to see its page: the Instances per environment (UAT and Prod instances started with this version), the Release pipeline, the Details (name and description, editable only while the version is a draft) and the Resources of the version.
Resources are grouped by type (Interfaces, Processes, APIs, Reports, Value lists). For each one, switch Include in the version on and pick the resource version (the latest is suggested). Use Add all and Refresh per group, or Add all and Refresh all (move every included resource to its latest version) for the whole version. A Shared resource belongs to another project and is deployed from it: its Deploy button opens, in a new tab, the production version of its own project (or the list of its versions when it has none yet). Click Save to keep the changes.
A version in UAT or Prod is locked: click Enable editing and confirm before changing its resources, because the change impacts the running processes and the users of that environment.

3. Environment Management: TEST, UAT, PRODDirect link to 3. Environment Management: TEST, UAT, PROD
Softyflow supports three distinct environments to facilitate a structured and safe deployment pipeline.
3.1. Environment HierarchyDirect link to 3.1. Environment Hierarchy
The standard promotion path for a version is from the development environment to the final production environment.
TEST → UAT → PROD
On a version, the same path reads Draft → UAT → Prod.
3.2. TEST EnvironmentDirect link to 3.2. TEST Environment
Purpose: Development and initial testing.
The TEST environment is where developers build and perform initial tests. It always runs the latest saved resources, so a change is testable immediately. New versions are created as drafts (see 2.2.1); a draft is deployed nowhere.
3.3. UAT Environment (User Acceptance Testing)Direct link to 3.3. UAT Environment (User Acceptance Testing)
Purpose: Business user testing and validation.
Once a version is ready, open it and use the Release card. It shows where the version is (The version is here) and one button per other stage: Move to UAT, Move to Prod, or Back to draft / Back to UAT. Save the version before deploying it.

A confirmation is required before the version moves, which prevents accidental promotions.

3.4. PROD Environment (Production)Direct link to 3.4. PROD Environment (Production)
Purpose: Live operational use.
After validation in UAT, click Move to Prod. The confirmation reminds you that the version replaces the Prod version for every user.

Once deployed, the Release card shows the version in Prod and the version page header shows its Prod status.

In the list, the version's status is now Prod and its production instances are counted live.

4. Advanced Version Management FeaturesDirect link to 4. Advanced Version Management Features
4.1. Version History and ComparisonDirect link to 4.1. Version History and Comparison
Each resource keeps its own history. In the process builder, for example, the Process History button of the action rail opens the History panel: the Versions tab lists the saved versions of the process (date, author, tags) and lets you load one; the Compare tab shows the differences between two versions. This is essential for auditing and debugging.

4.2. Version Status TrackingDirect link to 4.2. Version Status Tracking
The counters of the Versions page and the Used in production tab give a live view of where each version is deployed and which versions still have unfinished production instances, including archived ones.

4.3. Instance ManagementDirect link to 4.3. Instance Management
The Instances per environment card of a version page counts the UAT and Prod instances started with this version. When a count is not zero, its Migrate… link moves these instances to another version (see 4.6). To follow and manage the instances themselves, use the Run mode.

4.4. Duplicating a VersionDirect link to 4.4. Duplicating a Version
Click Duplicate on a version page (or in the dock, or the copy icon of a row in the list) to create a new draft with the same content. The card suggests a name, lets you write a description, and lists what is Copied as is: the same resources at the same resource versions. Click Duplicate to create the copy.

4.5. Archiving VersionsDirect link to 4.5. Archiving Versions
Archive the versions you no longer use to keep the list short: click Archive on the version page or the archive icon of its row, then confirm. Its resources, deployments and instances stay unchanged. Archived versions move to the Archived versions tab, where Unarchive brings them back. The version currently in production cannot be archived.

4.6. Migrating Instances to Another VersionDirect link to 4.6. Migrating Instances to Another Version
When a new version is in production, the instances started with an older version keep following the older one. To move them, open the old version and click Migrate… in its Instances per environment card, or Migrate the instances in the dock:
- Choose the Environment (UAT or Prod; the number of instances is shown for each).
- Choose the Target version. A draft target is allowed, with a warning: the instances will use its resources even though it is not deployed.
- Turn on Include ended instances if needed (by default only running, paused or failed instances are migrated).
- Softyflow computes a simulation first, without changing anything: the number of instances, how many can move and how many are blocked, per process (Same definition or Process changed), with the reason for each blocked instance (process missing from the target version, current step missing, interface of the open task missing).
- Click Migrate n instances to …. In Prod, you must type the name of the target version to confirm.
The result lists the migrated instances, open tasks, sub-instances and tasks whose buttons were recomputed. Undo the migration puts the instances back on the original version, and See in Instance tracking opens the Run mode. Every real migration is recorded in the logs.

5. Deployment WorkflowDirect link to 5. Deployment Workflow
5.1. Version PromotionDirect link to 5.1. Version Promotion
Version promotion moves a version through the pipeline from its page: Move to UAT, then Move to Prod, each with its confirmation. The draft page below shows the full path, from Instances per environment to the Release card.

5.2. Rollback CapabilitiesDirect link to 5.2. Rollback Capabilities
In case of issues in production, open the previous stable version and click Move to Prod: it replaces the faulty version for every user. On the faulty version, Back to UAT or Back to draft removes it from production. Then migrate its production instances back to the stable version if needed (see 4.6).

6. Best PracticesDirect link to 6. Best Practices
6.1. Version Naming ConventionsDirect link to 6.1. Version Naming Conventions
- Use semantic versioning:
v1.2.3 - Include feature descriptions:
Login-Enhancement-v1.2 - Add environment indicators:
UAT-Release-2024.01
6.2. Testing StrategyDirect link to 6.2. Testing Strategy
- Unit Testing: Test individual components in TEST
- Integration Testing: Validate component interactions in UAT
- User Acceptance: Business validation in UAT
- Production Monitoring: Continuous monitoring in PROD
6.3. Deployment SafetyDirect link to 6.3. Deployment Safety
- Always test in TEST environment first
- Validate in UAT before PROD deployment
- Maintain rollback plans for PROD deployments
- Monitor system health after deployments
6.4. Version ControlDirect link to 6.4. Version Control
- Create meaningful version descriptions
- Tag important releases
- Maintain version history
- Document breaking changes
Next StepsDirect link to Next Steps
Now that you understand testing and deployment, continue with production management:
- Monitor & Run - Monitor and manage your deployed applications
- Web Interface Design - Refine your interfaces based on testing feedback
- Process Design - Optimize your processes based on production data
- Database Integration - Scale your database integrations for production
- Integration - Monitor and maintain your external integrations
- Reporting - Create production reports and dashboards
For production security, review our authentication, user management, and role management guides.
For ongoing maintenance, explore system logs and our video tutorials for best practices.