Manually
- Last Updated: April 5, 2026
- 1 minute read
Manage Steps in a Flow Manually
About this task
To manually edit the steps inside a flow, simply edit the flow definition file.
Procedure
- In a text editor, open the flow definition file.
{
"name": "your-flow-name",
"description": "",
"batchSize": 100,
"threadCount": 4,
"options": {
"sourceQuery": null
},
"steps": {}
}
- Edit the flow definition file.
-
To add another step, create and add a new step.
-
To edit a step, search for the
stepsubnode under thestepsnode, and modify it as needed. -
To remove a step, search for the
stepsubnode under thestepsnode, and delete the entire JSON node for that step. -
To rearrange the sequence of the steps, replace the key of each step with the appropriate order of that step in the sequence. The key is an integer treated as a string (i.e., within quotation marks). Example: "1".
Note: The steps can be listed in any order, as long as the keys are unique within the
stepsnode of the flow. Duplicate keys can produced unexpected results. The key number must be greater than 0.
-
- Save your file.
What to do next
Run your flow locally to test it. When ready, deploy your flows to your MarkLogic Server.
See Also
Related concepts
Related tasks