Snap type: | Read | |||||||
---|---|---|---|---|---|---|---|---|
Description: | This Snap checks the status of an asynchronous job request through a job ID. The Snap can be used as a pipeline regardless of the type of the async operation such as Delete, Get, Upsert or Search. A job ID is returned to the output view when a user deselects the 'Get async results' property within the NetSuite Async Snaps (Delete, Get, Upsert or Search) while performing any of these operations. This job ID when submitted in the NetSuite Check Async Status Snap, returns the status pertaining to the request.
Empty number values should be given as 0.0, not as null. | |||||||
Prerequisites: | None | |||||||
Support and limitations: |
| |||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See NetSuite Account for information on setting up this type of account. Error rendering macro 'excerpt-include' : No link could be created for 'NetSuite Account'. | |||||||
Views: |
| |||||||
Settings | ||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||
Job ID | Required. The ID of the async job. There is a limit for getting result of an asynchronous: 20 times within a 30 day time period Default value: None | |||||||
Await final status | Flag to wait for the job's status to reach one of the final states. Default value: Not selected | |||||||
Await status interval | Required. The number of seconds to wait before the job is polled for its status. Default value: 30 | |||||||
Request time out | Required. Timeout for the web service call (in seconds). 0 indicates no timeout. | |||||||
Maximum requests attempts | Required. The maximum number of requests to attempt in case of failure. Default value: 3 | |||||||
Retry request interval | Required. Specifies the interval between two successive SOAP requests. A retry happens only when the previous attempt resulted in an exception. Default value: 2 |
Example
In this pipeline, we check the status of an asynchronous job by providing its job ID.
On successful execution of the pipeline, the output preview displays the status, percent completed, and estimated remaining duration for the submitted job ID.