Skip to main content

FlowDepartment Methods

An object defining methods for the FlowDepartment class.

SetConstantDepartment(id)​

Sets the department as a constant using its ID.

Parameters:​

id (required): long
The ID of the department.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetConstantDepartment(department)​

Sets the department as a constant using a department object.

Parameters:​

department (required): Department
The department object.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetManagerDepartment(sourceDepartment)​

Sets the manager department based on a source department.

Parameters:​

sourceDepartment (required): FlowDepartment
The source department.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetFromVariable(sourceVariable)​

Sets the department based on a variable.

Parameters:​

sourceVariable (required): Variable
The source variable.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetFromOther(sourceDepartment)​

Sets the department from another department object.

Parameters:​

sourceDepartment (required): FlowDepartment
The source department object.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetFromFlowInitiator()​

Sets the department based on the flow initiator.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SetFromPosition(sourcePosition)​

Sets the department based on a position.

Parameters:​

sourcePosition (required): FlowPosition
The source position.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


Initialize()​

Initializes the FlowDepartment instance.

Returns:​

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


ToLiquid()​

Converts the current object to a liquid-compatible representation.

Returns:​

Type: object
An object representing the liquid-compatible version of the FlowDepartment.

This is a sync method. Method runs synchronously.