Skip to main content
Version: V2 (Ignition 8.1)

system.mes.operation.getOperationReferences

Description​

Retrieves a list of references to an Operations object by its ID.

Permissions​

This method requires the OPERATION.READ.GET permission.

Syntax​

system.mes.operation.getOperationReferences(id)

Parameters​

ParameterTypeNullableDescription
idString (ULID)FalseThe ID of the operation to retrieve.

Returns​

Returns a list of JSON objects. Each JSON object has the following properties:

NameTypeDescription
tableNameStringThe name of the table that the reference is in.
referencesList<JSON Object>List of JSON objects corresponding to references to the operation.

The JSON Objects in references has the following properties:

NameTypeDescription
fkColNameStringThe name of the foreign key column.
idString (ULID)The ULID of the object that is referencing the operation.

Code Examples​

# Retrieve the references for the operation specified
operationReferences = system.mes.operation.getOperationReferences('01JPBCPKSR-972W3V0Y-H00NNSKQ')

# Output the operation references
print(operationReferences)