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

#### Beschreibung

Initialises the workflow object with the specified workflow definition, identified either by ID or by name.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 677px);"><colgroup><col style="width: 26.5%"><col style="width: 21.7%"><col style="width: 51.8%"></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>WorkflowID</p><p>WorkflowName</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 definition to load</p><p>name of the workflow definition to load</p></td></tr></table>

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

1 if the workflow was initialised successfully, 0 on error

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
