getDataflowJobNodes

Retrieves a collection of CRM Analytics dataflow job nodes.

Syntax 

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

CRM Analytics API Resource 

1GET /wave/dataflowjobs/${dataflowjobId}/nodes

getDataflowJobNodes 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.