Open topic with navigation

# Synchronous and Asynchronous Actions

Some actions are synchronous and others are asynchronous.

File System Connector does not respond to a synchronous action until it has completed the request. The result of the action is in the response to the request.

File System Connector responds to an asynchronous action immediately. The request is added to a queue of actions. The response to the request contains a token. You can use this token to determine whether the request has finished, and obtain the results of the action. To do this, use the `QueueInfo` action.

## Asynchronous Action Example

    http://localhost:1234/action=Fetch&FetchAction=Synchronize

## Asynchronous Action Response

    <autnresponse>
       <action>FETCH</action>
       <response>SUCCESS</response>
       <responsedata>
          <token>MTAuMi4xMDUuMzQ6MTIzNDpGRVRDSDoxNzUyNTc4MDc0</token>
       </responsedata>
    </autnresponse>

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm