Continuous Decision Model deploy as a Service

◷ Reading Time: 2 minutes

When a Continuous Decision Model runs on your FlexRule Designer, you can deploy it to AZURE, AWS, or Google.
Let’s have a look on how we can execute those models after deploying to any cloud service.

Initial Request Body Structure

{
    "inputs": [
        {
            "name": "<input name>",
            "value": <input value>
        }
    ]
}

 

We’ll use Postman for execution.

CDM Serverless

If you see a receivers tag in the response body, that indicates that the decision flow is waiting for triggers.

In this first response body, you can find the workflow instanceId as highlighted above and the rest of the receivers highlighted as follows.

CDM response body

Based on the desired outcome, you can choose “title” and outcome “name” for the next request.

Service Execution Continued

The 2nd or rest of the execution(based on the stages of your model) needs the following input request body structure to include “workflow instanceId” and outcome details captured from the previous response body.

{
    
    "Workflow": {
        "WorkflowInstanceId": "",
        "QueryTasks": false,
        "ResumeInfo": {
            "Title": "",
            "Category": "",
            "Outcome": "",
            "EventID":""
        }
    }
}

Example as follows

CDM waiting

 

 

Updated on July 17, 2026

Was this article helpful?

Related Articles