getDataflows

Retrieves a collection of CRM Analytics dataflows.

Syntax 

1import { LightningElement, wire } from "lwc";
2import { getDataflows } from "lightning/analyticsWaveApi";
3
4export default class GetDataflows extends LightningElement {
5  @wire(getDataflows)
6  onGetDataflows({ data, error }) {
7    if (error) {
8      console.log("getDataflows ERROR:", error);
9    } else if (data) {
10      console.log("getDataflows RESPONSE:", data.dataflows);
11    }
12  }
13}

CRM Analytics API Resource 

1GET /wave/dataflows

getDataflows uses this CRM Analytics API resource.

Parameters 

This parameter is optional.

Parameter NameTypeDescription
qStringSearch terms. Individual terms are separated by spaces. A wildcard is automatically appended to the last token in the query string. If the user’s search query contains quotation marks or wildcards, those symbols are automatically removed from the query string in the URL along with any other special characters.

Returns