# Asynchronous Web Service

## Asynchronous Web Service

### Description

This web service variant is used to execute long-running workflows. Instead of getting immediate results from a pipeline with a Web Service call, the only thing that is given back after the call in the unique ID of the executing workflow. With that unique ID you can query the status of the workflow. You can specify additional variables to report back during the querying of the status of the asynchronously running workflow.

### Options

| Option                         | Description                                                                                                                                                                       |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                           | The name to be used for this Asynchronous Web Services                                                                                                                            |
| Enabled                        | Boolean flag to indicated whether this web service is enabled or not                                                                                                              |
| Filename                       | The workflow to use for this web service, with options to open the selected workflow ('Open'), create a new workflow ('New'), or browse to select an existing workflow ('Browse') |
| Status variables (, separated) | List the variables that are being reported back when the asynchronous status service is queried                                                                                   |
| Content variable               | The name of the variable which will contain the content body of the service call                                                                                                  |

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/index-2/async-web-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
