Click or drag to resize

ProcessServicesGetProcess Method

Retrieves a single process definition, given its ID.

Namespace:  FactoryLogix.xTend.ProcessDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Process GetProcess(
	Guid sessionId,
	Guid processId,
	bool loadMaterial = false
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
processId
Type: SystemGuid
The unique identifier (ID) of the process being requested.
loadMaterial (Optional)
Type: SystemBoolean
Set to true to load material lists from Part Assignments to operations. Default is false

Return Value

Type: Process
A Process object whose Id property matches the processId parameter.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionAn existing process with matching Id property was not found in the system, or was found but is a process template.
See Also