# Long Actions
Long Actions (or Long Running Actions) are a special class of Workato actions that excels at processing bulk data. Long Actions may require several minutes to hours to complete.
Under normal circumstances, actions would throw a timeout error. However, Long Actions allow the action to complete without raising a timeout error.
CANNOT RUN LONG ACTIONS IN TEST MODE
Long Actions require dedicated users to periodically check if the action is complete. This is not available in test mode.
If your recipe contains a Long Action, use Start Recipe instead.
# How does this work?
When the job execution reaches a Long Action, Workato temporarily puts the job on hold and checks periodically if the Long Action has completed processing. Workato proceeds to the next step in the recipe after the action completes.
LONG ACTIONS JOB SEQUENCE
If your recipe has a Long Action step and job, note that when the action is put on hold, Workato automatically disregards the job sequence. The next job begins to process even if the previous job is not finished and the recipe concurrency is set to 1.
# List of Long Actions
Long Actions are supported by applications like Salesforce and NetSuite, and databases.
| Connector | Action | Description |
|---|---|---|
| Anaplan | Run data import | Run a data import process in Anaplan |
| Run data export | Run a data export process in Anaplan | |
| Run deletion | Run a delete action in Anaplan | |
| Run process | Run a process in Anaplan | |
| Databases | Export query result | Exports a query result as a CSV |
| Scheduler | Wait | Wait for specified length of time |
| SQL Transformation | Query CSV data | Query CSV data from different sources using SQL and output results |
| Marketo | Bulk export leads to file | Retrieve a list of Marketo leads as comma, tab, or semi-colon separated values |
| Bulk import leads from file | Bulk import leads to Marketo from file | |
| Bulk export activities to file | Retrieve a list of Marketo activities as comma, tab, or semi-colon separated values | |
| NetSuite | Add/Create in bulk | Adds/creates in bulk in NetSuite |
| QuickBooks | Wait for paid invoice | Wait for paid invoice on QuickBooks |
| Salesforce | Create/Update/Upsert records in bulk from CSV file | |
| Create/Update/Upsert records in bulk from CSV file (API 1.0) | ||
| Retry bulk job for failed records from CSV file | Retry bulk job in Salesforce for failed records | |
| Search records in bulk using SOQL | ||
| SAP | Send IDoc | Send IDoc to SAP |
| SurveyMonkey | Send survey invite via email and wait for response | Send survey invite via email and wait for response in SurveyMonkey |
| People Task | Request task approval | Request approval via People Task |
| Google BigQuery | Insert rows | Inserts rows in the selected table |
| Select rows | Select rows in a table in BigQuery | |
| Select rows using custom SQL | Select rows using custom SQL in BigQuery | |
| Run custom SQL | Run custom SQL in BigQuery | |
| Select rows using custom SQL and insert into table | Select rows using custom SQL and inserts the result into a table in BigQuery | |
| Load data from Google Cloud Storage | Load data from Google Cloud Storage into BigQuery | |
| GRPC | Invoke a gRPC service | |
| Invoke a gRPC service and write result to CSV file | ||
| Zendesk | Create/update object/record. Bulk upsert | Creates object or record if it doesn't exist otherwise update existing |
| Workbot for Slack | Wait for user input/action | The Workbot recipe job is suspended until the user provides input. The job continues to the next action when it receives the input; it does not run a separate command as a distinct recipe trigger. |
Last updated: 10/4/2023, 3:50:55 PM