Complete a Task (Salesforce) Data Flow Template
Last updated
Was this helpful?
Last updated
Was this helpful?
This is made up of two that allow app builders to mark a task record as completed in Salesforce. This is achieved by connecting with the Salesforce integration, passing the task_id and marking the task as completed
This Data Flow contains four parts:
The Start pane keeps track of the inputs required by the Data Flow.
Sample Inputs:
Datasource: Salesforce
Operation: Update record
Object Type: Task (Task)
Id: task_id
Update Body
Status: Completed
Description: “Appointment Completed.”
Run Results: completeResult output Variable of type Any that is automatically created to hold the results of this Operation.
Transform Expression: completeResults.success - Airscript expression to check whether the task was successfully completed or not.
Output Format: Variable
Run Results: result_status output Variable of type Boolean that is automatically created to hold the results of this Operation.
The End step is where variables from the Data Flow can be used as an output..
Sample Return Value: result_status of type Boolean
Allow app builders to mark a task as completed in Salesforce.
In , Data Flow templates can be found with pre-populated sample data. However, to meet the requirements of their , app builders should perform the necessary adjustments, such as adding other Data Ops.
Bear in mind that in order to use Salesforce as a datasource, credentials must be set in > to connect the corresponding account.
task_id of type
Type: