dataflow Commands
Manage Analytics dataflows and dataflow jobs.
analytics dataflow history list
Lists history records for Analytics dataflows in the specified target org.
Examples for analytics dataflow history list
1sf analytics dataflow history list --dataflowid <dataflowid>
Command Syntax
sf analytics dataflow history list
[--json]
[--api-version APIVERSION]
-o TARGETORG
-i DATAFLOWID
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowid DATAFLOWID
Required
The ID of the dataflow to show history records.
Type: id
analytics dataflow history revert
Revert to a specified history record.
Examples for analytics dataflow history revert
1sf analytics dataflow history revert -i <dataflowid> -y <historyid> -l <historyLabel>
Command Syntax
sf analytics dataflow history revert
[--json]
[--api-version APIVERSION]
-o TARGETORG
-i DATAFLOWID
-y HISTORYID
[-l LABEL]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowid DATAFLOWID
Required
The ID of the dataflow to show history records.
Type: id
-y | --historyid HISTORYID
Required
The ID of the dataflow history record.
Type: id
-l | --label LABEL
Optional
Label for new reverted history record.
Type: string
analytics dataflow job display
Display the status of an Analytics dataflow job.
Examples for analytics dataflow job display
1sf analytics dataflow job display --dataflowjobid dataflowJobId
Command Syntax
sf analytics dataflow job display
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATAFFLOWJOBID]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowjobid DATAFLOWJOBID
Required
ID of the dataflow job to display.
Type: id
analytics dataflow job list
Lists jobs for an Analytics dataflow.
Examples for analytics dataflow job list
1sf analytics dataflow job list --dataflowid dataflowId
Command Syntax
sf analytics dataflow job list
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATAFFLOWID]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowid DATAFLOWID
Required
ID of the dataflow to list the jobs for.
Type: id
analytics dataflow job stop
Stops an Analytics dataflow job.
Examples for analytics dataflow job stop
1sf analytics dataflow job stop --dataflowjobid dataflowJobId
Command Syntax
sf analytics dataflow job stop
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATAFFLOWJOBID]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowjobid DATAFLOWJOBID
Required
ID of the dataflow job to stop.
Type: id
analytics dataflow list
Lists Analytics dataflows in the specified target org.
Examples for analytics dataflow list
1sf analytics dataflow list
Command Syntax
sf analytics dataflow list
[--json]
[--api-version APIVERSION]
-o TARGETORG
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
analytics dataflow start
Starts an Analytics dataflow.
Examples for analytics dataflow start
1sf analytics dataflow start --dataflowid dataflowId
Command Syntax
sf analytics dataflow start
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATAFFLOWID]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowid DATAFLOWID
Required
ID of the dataflow to start.
Type: id
analytics dataflow update
Update an Analytics dataflow.
Examples for analytics dataflow update
1sf analytics dataflow update --dataflowid dataflowId --dataflowfile dataflow-file.json
Command Syntax
sf analytics dataflow update
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATAFFLOWID]
[-f DATAFFLOWFILE]
[-s DATAFFLOWSTR]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --dataflowid DATAFLOWID
Required
ID of the dataflow to start.
Type: id
-f | --dataflowfile DATAFLOWFILE
Optional
The dataflow JSON file to update the dataflow with.
Type: filepath
-s | --dataflowstr DATAFLOWSTR
Optional
The dataflow JSON string to update the dataflow with.
Type: string