1. Home
  2. Authoring Environment
  3. Creating Logic
  4. Flows
  5. Continuous Decision
  6. Test a Continuous Decision in Workbench
  1. Home
  2. FlexRule Server
  3. Workbench
  4. Test a Continuous Decision in Workbench

Test a Continuous Decision in Workbench

◷ Reading Time: 7 minutes

Introduction

Once a continuous decision is created, you can upload it to the server and test in Workbench. The following steps will show how to successfully deploy and test a continuous decision in workbench.

Build and Upload a Continuous Decision

ALL parameters used inside the model must be marked as durable in your Continuous Decision Model

  • First, the package should be built and uploaded to the server using FlexRule Designer Package Builder.
  • The uploaded continuous decision can be seen under Execution Server > Lifecycles.
Lifecycles CDM

Provide Permissions to the Role to Run Continuous Decisions

  • Go to Administration > Roles.
  • Click on Details of the Application role.
CDM Application Roles 2
  • Search for Work under Action Name and allow the actions related to Workflow.
Workflow Access

Test Run the Continuous Decision

Once you make the initial request for a continuous decision, it goes to a waiting stage. After that, if there is any human interaction or receive task option, you can resume whenever it is necessary.

The Initial Request

  • Go to Execution Server > Services
  • Click on Test Run of the continuous decision you want to run
Test Run for CDM
  • Enter the application login information under Info.
Test Run CDM App
  • Enter the sample input under the Inputs tab.
Input Data for CDM

Or if there is no input, you can keep it empty with [ ].

  • Click on Run.
  • If both Authentication and Execution are successful, you will see the output as a success under the ‘Results’ tab.
1st Test Run for the CDM

Resume the Continuous Decision

  • If you see a receivers tag in the Execution section after the test run, that indicates that the workflow is waiting for human interaction.
  • If so, copy the workflowInstanceId and title.
  • And title of reciever to be used, as well as it’s outcome name if there is one
  • Select the info tab of the test run screen
  • Paste them in Lifecycle Resume section
  • Enter the human interaction option in Outcome.
    In this example, it is a single outcome for the task (CTA Activated (Display offer in Home tile)).
  • Delete the input under the Inputs tab.
detail view of the Test run input tab showing the JSON input blank
  • Click on Run.
  • You will see the output accordingly.

If you go to Lifecycles and click on the continuous decision, you will see its status.

Lifecycle in CDM waiting

In the actions column you can view the continuous decision’s history, or delete it.

Troubleshooting

The following methods can be used to troubleshoot.

Turn on Debug Trace

If there is any error, you can see it in the test results.

Test run results tab showing error in response

You can turn on the debug trace to see the full trace. This option is under the Info tab.

Test run info tab showing how to set the Debug Trace to Full trace

Turn on the above debug trace and Run the service again to see the full trace.

Test run results tab showing error in response including the full trace detail

Download Service Log

Once you run the continuous decision, if there is any error, you can see it on Execution Server > Services page under each service.

You can view errors by clicking on the Actions drop-down and choosing the Last 10 Errors.

Updated on February 19, 2026

Was this article helpful?

Related Articles