Skip to main content
Version: ACE 5

Testing a flow

note

Debugging steps

It is possible to debug individual steps and validate what document they will produce given different input data. To debug a step, navigate to the step and click the Debug tab.

Execute without input data

TEST RESULT
{
"doc": {
"user": {
"result": {
"fullName": "Unknown",
"requestTime": "2023-07-05T15:14:21.391Z"
}
}
},
"errors": []
}

Execute with input data

INPUT DATA
{
"name": "Joe",
"surname": "Test"
}
TEST RESULT
{
"doc": {
"name": "Joe",
"surname": "Test",
"user": {
"result": {
"fullName": "Joe Test",
"requestTime": "2023-07-05T15:07:53.764Z",
"name": "Joe",
"surname": "Test"
}
}
},
"errors": []
}

Testing the entire flow

It is possible to test the result of the entire flow. Click on the trigger step and click the Test tab. Executing the flow without any input data will produce the following result:

TEST RESULT
{
"doc": {
"result": {
"fullName": "Unknown",
"requestTime": "2023-07-05T15:07:29.084Z"
}
},
"errors": []
}
note

Observe that the flow result path property we defined in the trigger step is selecting the user node to be returned as the flow result.