Using Hashtables from a Powershell Return
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)
note
This free template contains a sample workflow for creating a user in the Microsoft Active 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 Microsoft Active 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!
Description for importing a workflow template: Import of a workflow template