getDataflowJob

Retrieves a specific CRM Analytics dataflow job.

Syntax 

1import { LightningElement, api, wire } from "lwc";
2import { getDataflowJob } from "lightning/analyticsWaveApi";
3
4export default class GetDataflowJob extends LightningElement {
5  @api jobId; // or fetch the ID
6  @wire(getDataflowJob, {
7    dataflowJobId: "$jobId",
8  })
9  onGetDataflowJob({ data, error }) {
10    if (error) {
11      console.log(`getDataflowJob(${jobId}) ERROR:`, error);
12    } else if (data) {
13      console.log(`getDataflowJob(${jobId}) RESPONSE:`, data);
14    }
15  }
16}

CRM Analytics API Resource 

1GET /wave/dataflowjobs/${dataflowjobId}

getDataflowJob uses this CRM Analytics API resource.

Parameters 

Parameter NameTypeDescriptionRequired?
dataflowjobidStringThe ID of the dataflow job.Yes

Returns 

Release Preview

This release is in preview. Features described here don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.