Skip to main content

Department

The department object is the object that is used to store a department value within the flow. Its content can be determined as constant or changed dynamically during the flow.

The Assignment object can be used with the Assignment object to assign a value to the contents of the business unit object, and the Compare object can be used in conjunction with the value in the business unit object.

In the flow design, no arrow is removed from the Department object, nor is an arrow from another object bound to the Department object. The department object is used only for the purpose of storing department information.

When the object in the Flow design screen is clicked, the object properties appear in the Property Viewer panel.

Department

When the business unit object is clicked, there are "Appearance", "Properties" and "Events" tabs in the Property Viewer panel.

Appearance

Text Configs

'Object Name' - The name of the object to be used on the system side. On the code side, the object is accessed by the value that is written in the object name field.

'Caption' - The area where the object's title text is entered.

'Is Lock' - This field is activated if the object is not to be moved at the time of design.

'Size' - The part where the width and height of the object are adjusted.

Properties

Value

This is the tab on which to set the initial value of the business unit object. With the help of this tab, the department object can be given a constant value.

'Type' - This is the field in the Department object from which the department value to keep is selected. The Type field lists two options, "Fixed department" and "Flow initiating department".

Department

Selecting "Fixed business unit" from the Type field will open a department selection field, Select Department, that lists all department records defined in the system. The department definition selected from this field is stored in the Department object.

When "Flow Initiator's Business Department"** is selected from the Type field, the Business Unit object stores the business unit of the user who initiated the flow.

INFO

It is checked by the system that the attached properties on the object are correct. When a missing feature is found, a red exclamation point icon can be displayed on the object, and hovering over the icon with the mouse pointer can display what is missing or incorrect.

Department

Events

The events owned by the business unit object are located in the "Events" tab in the Property Viewer panel. Each event is triggered at different runtime moments, performing its own unique operations. Code written by the developer to these events is also executed at the time the corresponding event is triggered. To write code for any event, double-click the appropriate event line from the Events tab. The screen is directed to the flow code editor section named "FlowName.cs" and the method block for the clicked event is automatically created. The developer can construct any code block he wants in this method. Next to the event whose method is created on the code side by clicking from the Events tab, the method name information is automatically generated and the relationship between the event and the method is indicated.

Department