Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dieses Template erklärt einen Weg, um ein Hashtable aus einer Powershell Rückgabe zu konvertieren, so dass die einzelnen Werte weiterverarbeitet werden können.

Problemstellung

Ein Workflow enthält ein Powershell Skript, dass als Ausgabe ein Hashtable zurückgibt.
Der Rückgabedatentyp der Powershell Aktivität ist allerdings vom Typ Collection of PSObject.
Ein direkter Zugriff auf die einzelnen Werte ist daher nicht möglich.

Beschreibung des Workflowaufbaus

Argumente

Dieser Workflow besitzt keine Argument.

Formular

Dieser Workflow besitzt keine Argumente, daher enthält der Workflow auch keine Formular Konfiguration.

Workflow

Kostenfreies Workflowtemplate als Beispiel zum Download:

Beispieltemplate Hashtable (Import ab FLOWSTER Studio 5.2 möglich)

...

Dieses kostenfreie Template beinhaltet einen beispielhaften Workflow zur Anlage eines Benutzers in der Mircosoft Activity Directory. Dieser kann in ein bestehendes Flowster Studio System importiert und an den benötigten Prozess angepasst werden.

Damit der Workflow ausgeführt werden kann, müssen die Formularparameter sowie die systemspezifischen Parameter im Workflow zurvor individuell angepasst werden!

Dieses kostenfreie Template beinhaltet einen beispielhaften Workflow zur Anlage eines Benutzers in der Mircosoft Activity Directory. Dieser kann in ein bestehendes Flowster Studio System importiert und an den benötigten Prozess angepasst werden.

Damit der Workflow ausgeführt werden kann, müssen die Formularparameter sowie die systemspezifischen Parameter im Workflow zurvor individuell angepasst werden!

...

This template explains a way to convert a hashtable from a Powershell return so that the individual values can be processed further.

Problem definition

A workflow contains a Powershell script that returns a hashtable as output.The return data type of the Powershell activity, however, is of the type Collection of PSObject.Direct access to the individual values is therefore not possible.

Description of the workflow structure

Arguments

This workflow has no argument.

Form

This workflow has no arguments, therefore the workflow does not contain any form configuration.

Workflow

Download free workflow template as an example:

Hashtable Workflowtemplate (Import possible as of FLOWSTER Studio 5.2)

...

This free template contains a sample workflow for creating a user in the Mircosoft Activity Directory. This can be imported into an existing Flowster Studio system and adapted to the required process.

So that the workflow can be executed, the form parameters as well as the system-specific parameters in the workflow must be adapted individually beforehand!

This free template contains a sample workflow for creating a user in the Mircosoft Activity Directory. This can be imported into an existing Flowster Studio system and adapted to the required process.

So that the workflow can be executed, the form parameters as well as the system-specific parameters in the workflow must be adapted individually beforehand!

Info

Description for importing a workflow template: Import of a workflow template

...