Versions Compared

Key

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


...

Image Removed
Contents
Anchor_GoBack_GoBackWindows
1.1 Activities
1.1.1 Get Current User Info
1.2 Workflow
1.3 Parameters
1.3.1 General Guidelines
1.3.2 Get Current User Info
1.4 On execution Workflow  

This section deals with all Windows related Activities.

...


Table of Contents
indent2


Image Added
 

Anchor
_Toc331147297
_Toc331147297
Activities

 

Anchor
_Toc331147298
_Toc331147298
Get Current User Info

...


Workflow name: Windows_workflow

Workflow description:

Activities are the building blocks of WF , they are a unit of work in WF. Activities can be composed together into larger Activities. When an Activity is used as a top-level entry point, it is called a "Workflow".
In WF4, the root activity is called „Sequence". This activity is added by default in WF Designer panel when a new workflow is created. All activities that are placed inside of a sequence are called child activities.

...

Variables and Arguments
In general terms of parameters in WF4, there are two main concepts: Variables and Arguments. The definitions for each are that Variables are used to store data within a workflow and Arguments are used to passing data in/out of a workflow. The concept of „binding" parameters has been replaced with the usage of variables and arguments.
Variables are to be used in a workflow whenever the need to store data is limited to the current workflow and the output/input of the workflow is not used anywhere else (for example in Admin Suite).
Arguments are to be used whenever the input parameters of an activity are given by the user using for instance a web-based application, (for example when running a workflow in Admin Portal) and if the output of an activity is to be returned and used outside of DesignStudio application . (for example Admin Portal)
All parameters that have an Expression editor in Activity Properties panel can be used for value storage and passing, through variables and arguments.
Example: Collection From String activity
Image Removed
Defined IN arguments, with default value to be filled in by the user when running the workflow:
Image Removed
Defined variables to store the output of the Collection From String activity:
Image Removed
Parameters with different editors, like Folder editors or ComboBox cannot be bound to variables nor arguments.
Activity Properties
In general terms of activities properties, there are two main concepts: „Stop On Error" and „Enabled".
Image Removed
The concept of „Stop on error" and „Enabled"mechanisms are defined for runtime purposes.
Image Removed
Stop on error" Property
On runtime (nn. Start button), if the Stop on error property is set to Yes for an activity and an error or exception is thrown, the execution of the workflow stops on the activity that caused the error /exception to be thrown.
Image Removed
Image Removed
If set to No, the error message is displayed in Tracking Data panel, but the execution of the workflow continues.
Image Removed
Image Removed
„Enabled" Property
On runtime, if the Enabled property is set to Yes for an activity,the activity is executed.
Image Removed
Image Removed
If set to No, the activity will not be executed on runtime.
Image Removed
WF Designer panel view:
Image Removed
Tracking Data panel view:
Image Removed








Activity Parameters

Anchor
_Toc331147302
_Toc331147302
Get Current User Info

...

Anchor
_Toc331147303
_Toc331147303
On execution Workflow


Execution result: