Click or drag to resize

ProcessServices.GetProcess Method

Retrieves a single process definition, given its ID.

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

Parameters

sessionId
Type: System.Guid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
processId
Type: System.Guid
The unique identifier (ID) of the process being requested.
loadMaterial (Optional)
Type: System.Boolean
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