Run a Flow Using Gradle

You can use Gradle to run flows outside a GUI.

Tip: To avoid depending on Gradle and project files, especially in production environments, run your flows using the Data Hub Client JAR.
Important: When you load/ingest delimited text files into MarkLogic Server, URIs are randomly generated each time you load/ingest. To generate the same URIs each time you load/ingest delimited text files, use MLCP.

Before you begin

You need:

Procedure

  1. Open a command-line window, and go to your project root directory.
  2. At your project root, run the Gradle task hubRunFlow.