--- title: "A/B Testing" slug: "ab-testing" updated: 2025-12-23T18:02:07Z published: 2025-12-23T18:02:07Z canonical: "docs.processmaker.com/ab-testing" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.processmaker.com/llms.txt > Use this file to discover all available pages before exploring further. # A/B Testing > [!TIP] > [**Plan Availability:**](https://www.processmaker.com/products/pricing/) ![Professional](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/Professional.png)![Enterprise](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/Enterprise.png) The A/B Testing feature allows organizations to compare different process alternatives enabling process owners to make informed decisions based on data, leading to improved efficiency and effectiveness of business processes. By using A/B Testing, organizations can achieve the following benefits: - **Improved Process Performance:** Identify process alternatives that deliver better results, such as reduced cycle time or increased productivity. - **Optimal Resource Allocation:** Determine the most efficient allocation of resources to maximize process outcomes. - **Continuous Process Improvement:** Utilize insights gained from A/B testing to continually optimize and refine business processes. - **Enhanced Decision-making:** Make data-driven decisions based on objective evidence rather than subjective opinions. ### **Features** - **Alternative Creation:** Users can create and maintain two independent variants of a process model, enabling testing and comparison against different scenarios. - **A/B Testing:** Designers can activate both alternatives for live execution and define rules for distribution, ensuring reliable and unbiased results. - **Data Collection & Analysis:** Process metrics and user feedback are collected and compared against live alternatives, offering quantitative insights for informed decision-making. A/B Testing addresses the challenges organizations face in identifying and improving their business processes efficiently. This feature provides concrete evidence to support decision-making by collecting and analyzing data from different process alternatives. It tracks and measures key performance indicators (KPIs) for each alternative, providing objective proof of which performs best. Watch the following product tour to get a quick overview of how A/B testing works. [Embedded content](https://cdn.iframe.ly/XKQqy0F) ## Enable A/B Testing The first step to enable A/B Testing is to add an alternate path that a process can take. **Permissions** Your user account or group membership must have the following permissions unless your user account has the **Make this user a Super Admin** setting selected: Processes: Edit Processes Processes: View Processes See the [Process](/administrator/add-users/permission-descriptions-for-users-and-groups#processes) permissions or ask your Administrator for assistance. Follow the steps below to create an alternative for a process model: 1. Edit an existing process or create a new one in the Modeler. 2. From the top left of the Modeler, click the **+ Create the Alternative B** icon to add an alternate flow for the process . ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/9d2c42ba-4aef-4933-a69f-e66de4bbf1ff.png) 3. When creating an alternative, ProcessMaker will clone the existing model (Alternative A) into a separate tab (Alternative B). Subsequent edits to either alternative will be saved independently. 4. Edit the two alternative as needed and click **Publish** to publish the alternatives. 5. The **Start** **Event** for both alternatives must be identical to enable A/B Testing. If the events differ, A/B Testing cannot be enabled, and the following message will be displayed. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/ab5a10f3-6415-40eb-bf2e-66b030efb7c4.png) **Troubleshooting "AB Testing is now disabled" message** Check the following settings in the **Configuration Panel** of the start events for Alternative A and B to ensure they are identical. 1. **Properties**: Names must be identical for both alternatives. 2. **Start Permissions**: Same user/group must be selected for both alternatives. 3. **Web Entry**: Web entry configuration must be identical. 4. **Advanced**: The **Node Identifier** property must be identical. > [!NOTE] > - When publishing the process, Alternative A will be the default version, however, Designers can choose to publish either Alternative A, or B, or both. > - Simultaneously publishing both alternatives enables the A/B Testing configuration, while publishing just one will disable it. > - The active alternative will be highlighted in green, while the inactive alternative will be displayed in gray, indicating its disabled status. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/3b2a3b2c-85ed-4e26-b2c0-f14e0007a8c5.png) ### Simple Testing Configuration Follow these steps for configuring basic A/B Testing settings: 1. From the **Publish New Version** screen, select the **A+B Alternatives** tab. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/fef792c3-d22a-4130-88ed-8caaeba19f77.png) 2. Click the **A/B Settings** button to configure test settings. 3. For simple testing configuration, select the **Simple** option and adjust the slider to set the percentage distribution of incoming requests between the two alternatives. By default, requests are evenly distributed between the two alternatives. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/5cea366d-01c5-4d3c-818d-2e09907f2609.png) 4. Click **Save and Publish** to publish the two alternatives with basic A/B Testing configuration. 5. Click the **Version Info** button to go back to the alternative selection screen. 6. Click **See Process A/B Testing Configuration** to [view tests results and summary.](/designer-modeler/a-b-testing/testing-results-and-summary) 7. For advanced configuration, see [Advanced Testing Configuration](/designer-modeler/a-b-testing#advanced-testing-configuration). > [!NOTE] > - If no changes are made to the A/B Testing configuration, requests are distributed equally by default, with 50% allocated to Alternative A and 50% to Alternative B. > - Both alternatives must have the same start event for A/B testing to work correctly. ### Advanced Testing Configuration For advanced testing configuration, choose the **Advanced** option in A/B settings when publishing the alternatives and follow these instructions: 1. From **A/B Settings**, choose the **Advanced** option and input an expression to set the rules for activating either of the two alternatives. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/40b79f6b-b917-4155-a560-f6c4de11a48f.png) For more information about expressions, see [FEEL Expression Syntax](/designer-basics/expression-syntax-components). > [!TIP] > Here are a few examples of how to enter expressions in the advanced settings: > > - When routing based on the value of a Request Variable, an expression like this can be used: `loanApproved == "Yes"` > - If` loanApproved` variable stores a Boolean value, the expression can be written simply as: `loanApproved` > - It is also possible to combine expressions such as: `(loanApproved) or (loanRating > 500)` 2. When the entered expression evaluates to TRUE, requests will follow the process model in Alternative B. 3. When the entered expression evaluates to FALSE, requests will be allocated between Alternative A and B based on the percentages selected in the slider. Following table provides some examples of how advanced A/B Testing configuration works: | Expression | Alternative % | Request Distribution | | --- | --- | --- | | TRUE | N/A | Alternative A = 0% , Alternative B=100% | | FALSE | A=50% , B=50% | Alternative A = 50% , Alternative B=50% | | FALSE | A=100% , B=0% | Alternative A = 100% , Alternative B=0% | | FALSE | A=75%, B=25% | Alternative A = 75% , Alternative B=25% | 1. Click **Save and Publish** to publish the process. 2. Click the **Version Info** button to go back to the alternative selection screen. 3. Click **See Process A/B Testing Configuration** to [view tests results and summary.](/designer-modeler/a-b-testing/testing-results-and-summary) Watch the following product tour to learn how to setup advanced configuration for A/B Testing. [Embedded content](https://cdn.iframe.ly/H40Qdos) ## Republish Alternatives After the initial configuration, you can edit and republish one or both alternatives. **Permissions** Your user account or group membership must have the following permissions unless your user account has the **Make this user a Super Admin** setting selected: - Processes: Edit Processes - Processes: View Processes See the [Process](/administrator/add-users/permission-descriptions-for-users-and-groups#processes) permissions or ask your Administrator for assistance. Follow these steps to edit and republish the alternatives: 1. Edit an existing process that has [A/B Testing enabled](/designer-modeler/a-b-testing#enable-a-b-testing). The two alternatives will display in their respective tabs. 2. Edit one or both alternatives as needed and click the **Publish** button to publish them. 3. To individually publish the alternatives, select the tab associated with that alternative. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/a693a35e-0cd5-48e0-80b4-bed56ca84b9f.png) 4. Optionally, enter a **Version Name** and **Description** and click **Save and Publish**. > [!NOTE] > - Publishing only one alternative will disable the other, hence disabling the A/B Testing configuration. In this scenario, all requests will be routed using the published alternative only. > - The active alternative will be highlighted in green, while the inactive alternative will be displayed in gray, indicating its disabled status. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/3b2a3b2c-85ed-4e26-b2c0-f14e0007a8c5.png) 5. To publish both alternatives, select the **A+B Alternatives** tab. This action enables the A/B Testing configuration. 6. Optionally, click the **A/B Settings** button to [adjust the configuration for A/B Testing](/designer-modeler/a-b-testing#enable-a-b-testing). 7. Click **Save and Publish** when done. ## Related - [Testing Results and Summary](/testing-results-and-summary.md) - [Run A/B Testing from Modeler](/run-ab-testing-from-modeler.md) - [Switch and Copy Alternatives](/switch-and-copy-alternatives.md)