# COPYDATA

## Overview

The **COPYDATA** workflow application is used to copy data from a parameter to a different data.

## How it works

All parameters are optional, and parameter names can be set by the process designer. To copy a data from one to another, the only action required is to set the default value as the data to copy and set the data into which you want to retrieve it (as long as the data type is compatible). The parameters’ directions must be INOUT. There is no limit to the number of parameters.

## Parameters

### Optional parameters

| **Parameter**    | **Type**  | **Direction** | **Description**            |
| ---------------- | --------- | ------------- | -------------------------- |
| `DATA_DATETIME1` | Date/Time | INOUT         | DATETIME type data to copy |
| `DATA_FILE1`     | File      | INOUT         | FILE type data to copy     |
| `DATA_NUMERIC1`  | Numeric   | INOUT         | NUMERIC type data to copy  |
| `DATA_TEXT1`     | Text      | INOUT         | TEXT type data to copy     |

### Examples of parameters

| **Parameter**       | **Type** | **Direction** | **Description**                                                                                        |
| ------------------- | -------- | ------------- | ------------------------------------------------------------------------------------------------------ |
| `DATA_FILE1`        | File     | INOUT         | <p>Send value of <code>FORM\_DATA</code><br>Retrieve value into <code>FORM\_ACTION\_ACTION1</code></p> |
| `MY_PARAMETER_NAME` | Text     | INOUT         | <p>Send value of <code>TEXT\_DATA</code><br>Retrieve value into <code>OTHER\_TEXT\_DATA</code></p>     |


---

# 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.workflowgen.com/admin/9.1/workflow-applications/copydata-workflow-application.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.
