---
title: ".AddInputData (.workflow-Objektmethode)"
---
[TOC]

#### Beschreibung

Adds input data records to the workflow for the specified input element. The input can be identified either by its numeric ID or by its name.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 837px);"><colgroup><col style="width: 26.5%"><col style="width: 21.7%"><col style="width: 51.7%"></colgroup><tr><th class="smt-cell-highlight"><p><strong>Name</strong></p></th><th class="smt-cell-highlight"><p><strong>Typ</strong></p></th><th class="smt-cell-highlight"><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>WorkflowElementInputID</p><p>InputName</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a></p><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>ID of the workflow input element to supply data for</p><p>name of the workflow input element to supply data for</p></td></tr><tr><td><p>DatasetID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/"><u>string</u></a></p></td><td><p>dataset identifier that describes the type of the records</p></td></tr><tr><td><p>RecordIDList</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a>[]</p></td><td><p>list of record IDs to pass as input data</p></td></tr></table>

#### Rückgabewert [<u>integer</u>](../../../standard-datentypen/integer.md)

1 if the input data was added successfully, 0 on error

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
