getDataflowJobNode

Retrieves a specific CRM Analytics dataflow job node for a recipe or dataflow.

Syntax 

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

CRM Analytics API Resource 

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

getDataflowJobNode uses this CRM Analytics API resource.

Parameters 

Parameter NameTypeDescriptionRequired?
dataflowjobIdStringThe ID of the dataflow job.Yes
nodeIdStringThe ID of the node.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.