Skip to main content

Instances Monitoring

Use Instance tracking to inspect process instances in Test, User Acceptance Testing (UAT) and Production. An instance is one execution of a process, such as a single purchase request.

Select the environment first. Then filter by status and open an instance to inspect its tasks, variables and errors.

To investigate an issue, you may also need user settings, roles, mail notifications or system logs. The sections below explain the controls available in the page.

To open Instance tracking: in the navigation dock of the IDE, open the Monitoring group and click Instance tracking (keyboard shortcut: G then M), or go directly to /ide/run. The page requires the Monitoring right. When production instances are in error, a red badge with their number is shown on the Instance tracking icon of the dock.

The header of the page holds three buttons: Notification (error alerts, see Error Notification Configuration), Refresh, and View analytics, which opens the Usage page.

Instance tracking in the Test environment: the status cards, then the instances with a coloured status pill. Rows in error are tinted red.
Instance tracking in the Test environment: the status cards, then the instances with a coloured status pill. Rows in error are tinted red.

1. Instance Monitoring DashboardDirect link to 1. Instance Monitoring Dashboard

The dashboard provides at-a-glance insights into your process execution health.

1.1. Statistics OverviewDirect link to 1.1. Statistics Overview

Under Overview, the page shows one card per status for the selected environment:

  • Total instances: The number of instances of the environment.
  • Running: Instances that are currently active, or waiting for a user task, a condition or a timer.
  • Completed: Instances that have successfully completed their entire lifecycle.
  • Errors: Instances that have encountered a failure and require administrative attention. As soon as there is one, the card turns red so that it stands out.
  • Paused: Instances whose execution has been paused.

Each status card shows a count, its share of the total (% of instances) and a progress bar.

1.2. Interactive FilteringDirect link to 1.2. Interactive Filtering

Click a status card to filter the list. For example, click Errors to see failed instances. Click Total instances to show every status again.

2. Instance List & FilteringDirect link to 2. Instance List & Filtering

The list below the dashboard shows the process instances of the selected environment, the most recent first. Use its filters to find the instance you need.

2.1. Filter ControlsDirect link to 2.1. Filter Controls

Use these filters:

  • Environment: Switch between Test, UAT and Prod with the selector at the top right of the dashboard. The selected environment is shown next to Overview. These colours match your deployment strategy:
    • Test: Marked with a yellow indicator.
    • UAT: Marked with a blue indicator.
    • Prod: Marked with a green indicator.
  • Search instances…: Find instances by name.
  • All statuses: Show only the Running, Completed, Errors or Paused instances.
  • Reset: Clear the search and the status filter.

The number of matching instances is shown at the top right of the list.

2.2. Instance TableDirect link to 2.2. Instance Table

Each row is one instance. The table has these columns:

  • Instances: The name of the instance and, below it, its identifier.
  • Status: A coloured pill, right after the name: orange for Running, green for Completed, red for Error, blue for Paused. Click a pill to show only the instances with that status; click it again to show every status.
  • Project: The associated project, with its colour.
  • Process: The name of the process from which the instance was created.
  • Created at: The date and time the instance was launched.

To make problems easy to spot, each row has a coloured stripe on its left matching its status, and the rows in error are tinted red.

2.3. Navigation ActionsDirect link to 2.3. Navigation Actions

Click a row to open its details. The project and process names open their own editors:

  • Project Column: Clicking on the project name opens the project in a new browser tab.
  • Process Column: Clicking on the process name opens the process builder of that process in a new browser tab.
  • Other Columns: Clicking anywhere else on the row (or on the arrow) opens the page of that instance in a new browser tab, where you can inspect and repair it (see Instance Details).

3. Error Notification ConfigurationDirect link to 3. Error Notification Configuration

Set up alerts so your team knows when a process fails. Send alerts by email or through a webhook to your team's chat tool. A summary of these alerts is also shown in Settings › Emails, in the Error alerts group.

3.1. Setup ProcessDirect link to 3.1. Setup Process

  1. Click the Notification button at the top right of the Instance tracking page. The Errors Notifications panel opens.
  2. Set up your desired notification channels:
    • Projects: Select the specific projects you wish to monitor for errors, or All.
    • Email Notification: Add the users who receive the alerts. These notifications are sent using your configured mail providers.
    • Under Other channels:
      • Slack Web Hook: Integrate with Slack by providing a webhook URL.
      • Google Chat Hook: Connect to Google Chat spaces using a webhook URL.
      • MS Teams Web Hook: Send alerts to Microsoft Teams channels via a webhook URL.
  3. Click Save.

The bottom of the panel also offers Sync Instances, which recalculates the list of instances from the data with your synchronization key.

The Errors Notifications panel: projects, email recipients, and the Slack, Google Chat and MS Teams webhooks.
The Errors Notifications panel: projects, email recipients, and the Slack, Google Chat and MS Teams webhooks.

3.2. BenefitsDirect link to 3.2. Benefits

  • Stay Informed: Receive immediate alerts for recurrent or critical process failures.
  • Reduce Response Time: Enable your team to address critical issues faster, reducing their impact on business operations.
  • Customize Alerts: Tailor the scope of notifications on a per-project basis to ensure the right people are alerted for the right systems.

3.3. Setting Up Webhook IntegrationsDirect link to 3.3. Setting Up Webhook Integrations

A webhook sends an alert to a chat tool. The steps below cover Slack, Google Chat and Microsoft Teams.

3.3.1. Slack Webhook SetupDirect link to 3.3.1. Slack Webhook Setup

  1. Create a Slack App:
    • Navigate to the Slack API website.
    • Click "Create New App" and choose to create it "From scratch".
    • Provide an app name (e.g., "Softyflow Notifications") and select your desired Slack workspace.
Creating a new application in the Slack API dashboard to enable webhook integration.
Creating a new application in the Slack API dashboard to enable webhook integration.
  1. Enable Incoming Webhooks:
    • From your new app's settings page, navigate to the "Incoming Webhooks" feature.
    • Toggle the "Activate Incoming Webhooks" switch to On.
    • Click "Add New Webhook to Workspace".
Activating the "Incoming Webhooks" feature for your Slack application.
Activating the "Incoming Webhooks" feature for your Slack application.
  1. Authorize and Configure Channel:
    • Select the specific Slack channel where the notifications should be posted.
    • Click "Allow" to grant the necessary permissions and authorize the webhook.
Selecting and authorizing the target Slack channel for receiving notifications.
Selecting and authorizing the target Slack channel for receiving notifications.
  1. Copy the Webhook URL:
    • Once authorized, Slack will generate a unique webhook URL. Copy this URL to your clipboard. It will follow a format similar to https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX.
The generated Slack webhook URL, ready to be copied into Softyflow.
The generated Slack webhook URL, ready to be copied into Softyflow.
  • Finally, paste this URL into the "Slack Web Hook" field in the Softyflow notification settings.

Example Slack Webhook URL format:

https://hooks.slack.com/services/T1234567890/B1234567890/abcdefghijklmnopqrstuvwx

3.3.2. Google Chat Webhook SetupDirect link to 3.3.2. Google Chat Webhook Setup

  1. Open Google Chat:
    • Navigate to the Google Chat space where you want to receive notifications.
    • If you don't have a suitable space, you can create one by clicking "+ Create space".
Creating a new space in Google Chat to serve as a destination for webhook notifications.
Creating a new space in Google Chat to serve as a destination for webhook notifications.
  1. Configure Webhooks for the Space:
    • In your selected chat space, click on the space name at the top to open the menu.
    • Select "Apps & integrations" from the dropdown list.
Accessing the "Apps & integrations" settings within a Google Chat space.
Accessing the "Apps & integrations" settings within a Google Chat space.
  • Click on the "Add webhooks" button to proceed.
  1. Create the Webhook:
    • Enter a descriptive name for the webhook (e.g., "Softyflow Alerts").
    • You can optionally add an avatar URL to customize the appearance of messages sent by the webhook.
    • Click "Save".
Naming and creating a new webhook within Google Chat's integration settings.
Naming and creating a new webhook within Google Chat's integration settings.
  1. Copy the Webhook URL:
    • Google Chat will generate a unique webhook URL. Copy this URL. The format will be similar to https://chat.googleapis.com/v1/spaces/XXXXXXX/messages?key=YYYYYYY&token=ZZZZZZZ.
The generated Google Chat webhook URL, which you can now use in Softyflow.
The generated Google Chat webhook URL, which you can now use in Softyflow.
  • Paste this URL into the "Google Chat Hook" field in Softyflow's notification settings.

Example Google Chat Webhook URL format:

https://chat.googleapis.com/v1/spaces/AAAABbbbCCCc/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=abcdefghijklmnopqrstuvwxyz123456789

3.3.3. Microsoft Teams Webhook SetupDirect link to 3.3.3. Microsoft Teams Webhook Setup

  1. Navigate to your Teams Channel:
    • Open Microsoft Teams and go to the channel where you want to receive notifications.
    • If you don't have a specific channel for alerts, you can create a new one or use a general-purpose channel.
Managing a channel's settings in Microsoft Teams to add a new connector.
Managing a channel's settings in Microsoft Teams to add a new connector.
  1. Add the Incoming Webhook Connector:
    • Click on the "..." (more options) menu next to your channel's name.
    • Select "Connectors" from the menu.
    • In the connectors gallery, search for "Incoming Webhook" and click the "Configure" button next to it.
Adding and configuring the "Incoming Webhook" connector in Microsoft Teams.
Adding and configuring the "Incoming Webhook" connector in Microsoft Teams.
  1. Configure the Webhook:
    • Provide a name for your webhook (e.g., "Softyflow Process Alerts").
    • You can also upload a custom image to serve as the avatar for notifications from this webhook.
    • Click "Create".
Naming and creating the webhook within the Microsoft Teams connector configuration.
Naming and creating the webhook within the Microsoft Teams connector configuration.
  1. Copy the Webhook URL:
    • Teams will generate a unique webhook URL. Copy this URL. It will have a format like https://[tenant].webhook.office.com/webhookb2/[GUID]@[GUID]/IncomingWebhook/[GUID]/[GUID].
The generated Microsoft Teams webhook URL, ready to be used in Softyflow.
The generated Microsoft Teams webhook URL, ready to be used in Softyflow.
  • Click "Done" to close the configuration window.
  • Paste the copied URL into the "MS Teams Web Hook" field in the Softyflow notification settings.

Example MS Teams Webhook URL format:

https://yourtenant.webhook.office.com/webhookb2/12345678-1234-1234-1234-123456789012@12345678-1234-1234-1234-123456789012/IncomingWebhook/abcdefgh12345678/87654321-4321-4321-4321-210987654321

3.4. Webhook Security Best PracticesDirect link to 3.4. Webhook Security Best Practices

  • URL Protection: Treat your webhook URLs as sensitive information. Do not expose them in public repositories or client-side code.
  • Regular Rotation: For enhanced security, consider periodically regenerating your webhook URLs and updating them in Softyflow.
  • Team Access: Limit access to webhook configuration settings to authorized team members only.
  • Testing: Always test your webhook configurations in a non-production environment before deploying them to your live production systems.

3.5. Notification Message FormatDirect link to 3.5. Notification Message Format

Softyflow sends well-structured, informative notifications to your configured webhooks. Each message typically includes:

  • Instance Name: The identifier of the failed process instance.
  • Error Type: A classification of the error that occurred.
  • Timestamp: The exact time when the error was logged.
  • Project Information: Details of the associated project.
  • Direct Links: A hyperlink to the instance details view in Softyflow for immediate troubleshooting.

3.6. Troubleshooting Webhook IssuesDirect link to 3.6. Troubleshooting Webhook Issues

If you are not receiving notifications as expected, consider the following common issues:

Common Issues:

  • Invalid URL: Ensure the webhook URL was copied and pasted correctly, without any extra characters or missing parts.
  • Expired Webhooks: Some platforms may disable or expire webhooks after a period of inactivity.
  • Permission Issues: Verify that the app or connector associated with the webhook has the necessary permissions to post messages to the designated channel or space.
  • Network Restrictions: Check for any firewall rules or network policies within your organization that might be blocking outbound HTTPS requests from Softyflow to the webhook provider.

Testing Webhooks:

  1. Save your webhook configuration in Softyflow.
  2. Either manually trigger an error in a test process or wait for a natural error to occur.
  3. Check the configured channel or space for the notification message.
  4. If no message appears, double-check the webhook URL, review the permissions, and consult the logs of your webhook provider if available.

4. Performance and ScalabilityDirect link to 4. Performance and Scalability

Instance tracking loads instance data in parts. The controls below help you work with large lists and slow queries.

4.1. Efficient Data Loading and Timeout ManagementDirect link to 4.1. Efficient Data Loading and Timeout Management

Large lists can take time to load. Instance tracking provides these controls:

  • Pagination: the list is loaded one page at a time, 10 instances per page. The footer shows the range (for example 1–10 of 8,204) and the page numbers.
  • Asynchronous Operations: Many operations, such as filtering and searching, are performed asynchronously in the background to keep the UI responsive.
  • Automatic Timeout Detection: If counting the instances takes too long, a message asks whether to load anyway: choose Load Anyway to keep waiting. You can also narrow the filters and try again. The Tasks view of an instance offers the same choice (Load anyway).

4.2. Refreshing the DataDirect link to 4.2. Refreshing the Data

The pages show the state of the instances at the moment they are loaded; they are not updated live:

  • Instance tracking: click Refresh in the header to reload the status cards and the list.
  • Page of an instance: click Refresh on the rail to reload the instance (schema, progress, variables, tasks, logs). If you have unsaved changes, you are asked first: Reload drops them.

5. Instance DetailsDirect link to 5. Instance Details

Click an instance in the list to open its page in a new browser tab. It is the same page as the one opened from the Run mode of a project, also described in Monitor & Run › Instance Detail Views. The page has three parts:

  • Left column: the name of the instance, its status (Running, Ended, Paused or In error) and its environment (TEST, UAT or PROD). Below, its views are grouped in Instance (Schema, Variables, Measures) and Follow-up (Tasks, Sub-processes, Logs, Errors), with their count. Sub-processes is only shown when the instance started sub-processes.
    • The Progress card shows the percentage and the steps done (1 step done out of 6), the Current step or the steps In error (click one to show it on the schema), and how long the instance has been running (For 15 days) or how long it took. An ended instance shows Instance finished.
    • The summary gives the Process (click it to open the process builder of this process in a new tab), the Version followed by the instance (click it to Open the version; not shown when the instance follows no deployed version), Started on and Updated on.
  • Middle: the selected view.
  • Rail on the right: the actions on the whole instance (see The Action Rail).
The page of a Prod instance: its views, progress and summary on the left, the schema in the middle, the action rail on the right.
The page of a Prod instance: its views, progress and summary on the left, the schema in the middle, the action rail on the right.

5.1. SchemaDirect link to 5.1. Schema

The Schema view shows the path taken by the instance on the BPMN diagram of its process:

  • Done steps are green, Running steps are orange with a dashed border, steps in Error are red. The steps the instance did not reach are faded.
  • The bar above the diagram counts the Done, Running and Error steps and holds the zoom buttons (Zoom out, Fit to screen, Zoom in).
  • Each task or sub-process the instance already went through shows a small orange Restart from here button (see Restart From Here).

Click a step to open its panel on the right: its status, its Related task (Open the task, or View the ended task), and the tabs Activities (each passage of the instance through the step, with its start and end), Sub-process (the child instances started by the step, when there are any), Inputs, Internal and Outputs. These tabs show the current values of the variables, not the ones at the time of the task.

5.2. Variables and MeasuresDirect link to 5.2. Variables and Measures

The Variables view lists the data of the instance (name, value, type); the Measures view lists its measures, used by the reports. In both views you can:

  • Filter by name…;
  • Edit a value: directly in the row for a text, a number, a boolean or a date, in a JSON editor for an object or an array; then Confirm;
  • Delete a variable or a measure;
  • Add a variable (name, type string, number, array or json, and value) or Add a measure (name and value).

The timestamps written by the engine for each step (names containing StartedAt, EndedAt or Duration) are listed last. Changes are not applied at once: a bar recalls Variables changed, not saved yet. until you click Save (in that bar, on the rail, or Ctrl + S) and confirm.

The Variables view: filter, edit, delete or add a variable, then save.
The Variables view: filter, edit, delete or add a variable, then save.

5.3. TasksDirect link to 5.3. Tasks

The Tasks view lists the tasks created by the instance with their Name, Created on, Status, Users and Roles (click a role to open it). For each task:

  • Edit the assignment: in the Task assignment dialog, choose the users and the roles who can handle the task, then click Save.
  • Open the task: opens the web interface of the task in a new tab.
  • Delete the task: after confirmation, the task disappears from the task box of its users. This cannot be undone.
The Tasks view: the users and roles of each task, and its actions (edit the assignment, open, delete).
The Tasks view: the users and roles of each task, and its actions (edit the assignment, open, delete).

5.4. Sub-processesDirect link to 5.4. Sub-processes

The Sub-processes view lists the child instances started by the sub-processes of the instance: the Step of this process, the Activity and the Status of each child instance. Open the instance opens the child instance in its own page.

5.5. LogsDirect link to 5.5. Logs

The Logs view is the audit trail of the instance: who did what and when (Start, Opening, Instance updated, Measures updated, Activities updated, Resumed, Task validated, Task updated, Task deleted).

  • Filter by user (All users), by dates (Start – End), by action (All actions) or by text (Search in the details). Clear the filters resets them.
  • View opens the detail of an entry and the object involved.

Use it to track user activity, check the sequence of events while debugging, and keep an auditable history of the instance.

The Logs view of an instance and its filters.
The Logs view of an instance and its filters.

5.6. ErrorsDirect link to 5.6. Errors

The Errors view shows each error met by the instance: its name, the element where it occurred or its date (Element / Occurred on), the message and the Technical detail (stack trace). Analyze this error asks Flowy AI to investigate this error (see Investigating With Flowy AI). When there is no error, the view shows No error.

The Errors view of an instance in error: the message, the technical detail and Analyze this error.
The Errors view of an instance in error: the message, the technical detail and Analyze this error.

6. Instance OperationsDirect link to 6. Instance Operations

6.1. The Action RailDirect link to 6.1. The Action Rail

The rail on the right of the page holds the actions on the whole instance. Hover a button to see its name:

  • Save (Ctrl + S): applies the changes made to the schema, the variables or the measures, after confirmation. It is only active on these three views.
  • Refresh: reloads the instance (see Refreshing the Data).
  • Open the page of the instance: opens the page that shows this instance in the application, in a new tab. Only shown when the process has an Instance page in its process settings.
  • Change the version and Revive the instance: only shown for a Paused instance (see 6.3).
  • End the instance: see 6.4.

To edit the process itself, click its name under Process in the left column.

The rail of a paused instance: Save, Refresh, Change the version, Revive the instance and End the instance.
The rail of a paused instance: Save, Refresh, Change the version, Revive the instance and End the instance.

6.2. Restart From HereDirect link to 6.2. Restart From Here

Since version 8.6, you restart a step directly on the schema. Click the orange Restart from here button at the top right of a step (a task or a sub-process) the instance already went through: the panel of the step opens with the restart card. Choose:

  • Run this step again: the step is reset (the other steps still waiting or in error are cancelled and their tasks removed), the schema of the instance is saved, and the instance restarts just before the step, which runs again.
  • Skip this step: the step is marked as done (its task is closed), the schema is saved and the instance goes on with the next step. This choice is only offered when the step is waiting or in error.

The card lists these steps before anything is done. Click Run again (or Skip the step) to launch them, or Cancel. If a step fails, nothing else is done after it and Try again appears. The full procedure is in Monitor & Run › Restart From Here.

Restart from here on a running step: run it again or skip it; the card lists what will be done.
Restart from here on a running step: run it again or skip it; the card lists what will be done.

For special cases, the manual method remains: in the Activities tab of a step, click Edit the activities to set each activity to Running or Ended or delete one, or Add an activity when the instance never went through the step; click Apply, then Save the schema.

6.3. Reviving a Paused Instance or Changing Its VersionDirect link to 6.3. Reviving a Paused Instance or Changing Its Version

When an instance is Paused, the rail shows two more buttons:

  • Revive the instance: choose the Activity to revive (the activity the instance starts again from), then click Revive.
  • Change the version: the environment of the instance is shown; choose the Version of the process it must follow among the versions of that environment, then click Apply.
Revive a paused instance: choose the activity it starts again from.
Revive a paused instance: choose the activity it starts again from.
Change the version of a paused instance, within its environment.
Change the version of a paused instance, within its environment.

To move many UAT or Prod instances to another version at once, open the old version and use Migrating Instances to Another Version.

6.4. Ending an InstanceDirect link to 6.4. Ending an Instance

Click End the instance (the green check of the rail), then confirm: all the tasks of the instance are ended and it stops there; its data may stay incomplete. Click End. The status becomes Ended and the Progress card shows Instance finished. To bring an ended instance back, use Restart from here on a step of the schema (see 6.2. Restart From Here).

Instances cannot be deleted from Instance tracking: use the bin of the instance row in the Run mode of its project.

6.5. Investigating With Flowy AIDirect link to 6.5. Investigating With Flowy AI

When an instance is in error (or paused after an error), the page offers a Flowy AI investigation as soon as it opens: A problem is blocking this instance, with the process, the instance and the last error message. Start investigation opens the Flowy panel on the right; Close dismisses the offer. You can also open the panel at any time with the Flowy AI tab on the right edge (or Ctrl + I) and ask a question about the instance, or click Analyze this error in the Errors view.

The investigation is read-only: Flowy reads the history, the variables and the errors of the instance and its process, then proposes a diagnosis and a solution. Nothing is changed before you click Accepter et appliquer la solution (accept and apply the solution) under the proposal, and the instance is not restarted automatically. Save or refresh your own changes on the page first.

An instance in error: Flowy AI offers to investigate it; nothing is changed during the investigation.
An instance in error: Flowy AI offers to investigate it; nothing is changed during the investigation.

7. Instance Lifecycle StatesDirect link to 7. Instance Lifecycle States

The state of a process instance is always clearly indicated by its status, both in the instance list and in the detailed view (where Completed is shown as Ended and Error as In error).

StatusDescriptionVisual Indicator
RunningThe process is actively executing steps, or is waiting for user tasks, conditions, or scheduled timers.Orange
Completed (End)The instance has successfully executed all of its activities and has completed its lifecycle.Green
ErrorThe instance has encountered an error and is in a failed state, requiring intervention.Red (row tinted red)
Paused (Pause)The execution of the instance has been paused, typically while waiting for external input or manual reactivation.Blue
The status cards use the same colours as the status pills: orange for Running, green for Completed, red for Errors, blue for Paused.
The status cards use the same colours as the status pills: orange for Running, green for Completed, red for Errors, blue for Paused.

Use the status, task and log views together to find the cause of a failed process and check the result of a fix.

8. Usage PageDirect link to 8. Usage Page

View analytics in the header opens the Usage page, with the figures of the whole workspace: instances by status, month, process, project and environment, user activity and the size of the workspace. You can also open it from the dock (Monitoring › Usage, keyboard shortcut G then A) or at /ide/usage. It is described on its own page: Usage.

Next StepsDirect link to Next Steps

Use these guides to review related settings:

Advanced Monitoring:

  • Instances Monitoring: Dive into high-level monitoring with automated alerting capabilities.
  • Usage: Follow the activity of the workspace: instances by month, status, process and project, and the users who connect.
  • System Logs: Explore comprehensive audit trails for system-wide analysis.
  • Settings: Configure global monitoring preferences and performance thresholds.
  • Mail Management: Set up sophisticated automated notifications for your processes.

Administration Optimization:

  • User Management: Optimize user and group assignments based on process execution data.
  • Role Management: Refine role-based permissions based on real-world process usage.
  • Authentication: Ensure that your process management environment is secure.
  • Home Redirection: Create customized landing pages for different user roles to guide them to their relevant processes.

Development Enhancement:

  • Project Setup: Fine-tune your project configurations based on execution data.
  • Web Interface Design: Improve your user interfaces based on how they are used within your processes.
  • Process Design: Optimize your process models based on execution analytics and performance data.
  • Database Integration: Refine your database interactions based on process performance.
  • Integration: Enhance your external system integrations based on execution patterns.
  • Monitor & Run: Coordinate your development and operational monitoring strategies for a holistic view.