ActivityFunctionsGetEmployeeOrDepartment Method

Scanjour Workflow4 Reference Manual
Get contact information from employee or department name.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_22.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_22.1.0.0.dll) Version: 22.1.0.0 (22.1.0.0)
Syntax

public static ContactData GetEmployeeOrDepartment(
	ActivityContext context,
	string nameCode,
	bool reload = false
)

Parameters

context
Type: System.ActivitiesActivityContext
The odata context.
nameCode
Type: SystemString
The name code.
reload (Optional)
Type: SystemBoolean
Forces a reload to cache.

Return Value

Type: ContactData
A ContactData class with contact information
See Also

Reference