Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to manage continuous activities among many other resources. Specifically, for the "Continuous Activity" resource and the "Stop Continuous Activity" operation, it stops the current run of a specified continuous activity within a given project and recipe.

Use cases include:

  • Halting an ongoing continuous data processing or monitoring task in Dataiku DSS.
  • Managing workflow automation by programmatically stopping continuous activities when certain conditions are met.
  • Integrating with other systems to control Dataiku DSS continuous activities remotely.

Example: You have a continuous activity running that monitors data freshness or triggers periodic computations. Using this node, you can stop that activity on demand, for example, as part of a larger automation workflow.

Properties

Name Meaning
Project Key The key identifier of the Dataiku DSS project where the continuous activity runs.
Recipe ID The identifier of the recipe associated with the continuous activity to be stopped.

Output

The node outputs the JSON response from the Dataiku DSS API after attempting to stop the continuous activity. This typically includes status information about the stop request or confirmation of the action.

If the API returns binary data (not typical for this operation), it would be provided as binary output, but for stopping continuous activities, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Project Key or Recipe ID Missing: The node requires both the Project Key and Recipe ID to identify which continuous activity to stop. Omitting either will cause an error.
  • API Request Failures: Network issues, incorrect server URL, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Permission Issues: The API key used must have sufficient permissions to stop continuous activities in the specified project.
  • Unexpected Response Format: If the API response cannot be parsed as JSON, check if the Dataiku DSS server is returning errors or unexpected content.

Links and References

Discussion