Stopping a workflow

Stop running workflows in Agent Studio within Cloudera to immediately terminate active AI agents and release allocated compute resources.

Stopping a workflow is useful in the following scenarios:

  • Unexpected duration: The workflow is taking significantly longer than anticipated.
  • Input adjustments: When changes are required for the input data before the process completes.
  • Unsatisfactory results: The current output is not meeting your requirements or expectations.
  • Process redundancy: The workflow is no longer needed to complete its task.
  • Fresh start: To restart the process with entirely different settings.

The Stop Workflow feature ensures that the workflow terminates cleanly. All progress is saved, and compute resources are properly released.

  1. In the Cloudera console, click the Cloudera AI tile.
    The Cloudera AI Home page is displayed.
  2. Click on the name of the workbench.
    The Cloudera AI Workbench Home page is displayed.
  3. In the left navigation pane, click AI Studios.
    The AI Studios page is displayed.
  4. On the Agent Studio tile, click Open.
    The Agent Studio page is displayed.
  5. Click on Create.
    The Create New Workflow window is displayed.
  6. Enter the required details and go to Add Tasks > Configure > Test tabs.
    You can either stop the workflow during testing, in the Tools Playground or stop the workflow after deploying it.
    Figure 1. Test tab
  7. Click the Stop button.
    The button changes to Stopping while the request is in process. The workflow ends, and the button disappears once the process is complete.

The workflow stops within seconds. Once stopped:

  • Resource cleanup is handled automatically.
  • You can immediately initiate a new workflow or modify existing settings.