Manage Steps in a Flow Manually

About this task

To manually edit the steps inside a flow, simply edit the flow configuration file.

Procedure

  1. In a text editor, open the flow configuration file.
       {
        "name": "your-flow-name",
        "description": "",
        "batchSize": 100,
        "threadCount": 4,
        "options": {
          "sourceQuery": null
        },
        "steps": {}
      }
    
  2. Edit the flow configuration file.
    • To add another step,
    • To edit a step, search for the step subnode under the steps node, and modify it as needed.
    • To remove a step, search for the step subnode under the steps node, 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 steps node of the flow. Duplicate keys can produce unexpected results. The key number must be greater than 0.
  3. Save your file.

What to do next

Use Gradle to run your flow locally to test it. When ready, deploy your flows to your MarkLogic Server.