Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this Page

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

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. 
 

Note
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.


  • Expected upstream Snaps:  Any Snap that provides a document output view, such as Mapper or Structure or a JSON Generator Snap. 
  • Expected downstream Snaps:  [None] or any Snap that has a document input view, such as Filter or Mapper or JSON Formatter.
  • Expected input:  A valid job ID of a given asynchronous job request from the operations such as Delete, Get, Upsert or Search.
  • Expected output:  The status of the given job request such as Pending, Processing, Finished, Finished with errors or Failed.


Note

Empty number values should be given as 0.0, not as null.


Prerequisites:

None

Support and limitations:Works in Ultra Task Pipelines.
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.

Insert excerpt
Configuring NetSuite SOAP Accounts
Configuring NetSuite SOAP Accounts
nopaneltrue

Views:


InputThis Snap has exactly one document input view.
OutputThis Snap has at most one document output view.
ErrorThis Snap has at most one document error view and produces zero or more documents in the view.


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.

Note

 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.
Default value: 0

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


Troubleshooting

Multiexcerpt include macro
nameNetsuite_Troubleshooting
pageNetSuite Async Get

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.



Insert excerpt
NetSuite SOAP Snap Pack
NetSuite SOAP Snap Pack
nopaneltrue