updateDataflowJob
Updates a CRM Analytics dataflow job, which is the equivalent of clicking Stop for a data prep recipe, a data sync, or a dataflow in the Tableau CRM Data Manager UI.
updateDataflowJob
uses this CRM Analytics API resource.
Parameter Name | Type | Description | Required? |
---|---|---|---|
dataflowjobId | String | The dataflow job ID. | ![]() |
command | String | The job command to execute.
stop to update a dataflow job. | ![]() |
- A Promise object that resolves with the Dataflow Job response.
There are several ways to use updateDataflowJob
. For example, you can display a list of dataflow jobs and enable stop on each queued or running recipe on the list.
This example adds a stop button to a page with recipes. Stopping a recipe displays a toast message using the lightning/platformShowToastEvent
module.
This button calls the updateDataflowJob()
method.