system.mes.batch.queue.setParameterValue(batchQueueEntry, path, value)

Sepasoft MES Module Suite

system.mes.batch.queue.setParameterValue(batchQueueEntry, path, value, changedBy)

Assigns a new value to a batch parameter. To prevent inadvertently setting a parameter in the wrong batch, the provided batch queue entry must be active and running before calling this function.

setParameterValue(batchQueueEntry, path, value, changedBy) → void

Syntax

setParameterValue(batchQueueEntry, path, value, changedBy)

Parameters

BatchQueueEntry batchQueueEntry - The BatchQueueEntry object to set a batch parameter in.

String path - The path of the batch parameter. The format of the path must follow the /Procedure/Unit Procedure/Operation:Transition pattern and include a parameter name. Example: /Make Cookies/Mix/Add Flour.Target Amount

Object value - The value to assign to the batch parameter.

String changedBy - Associates user actions with parameter changes. 

Returns

Nothing

Scope

All

Sepasoft MES Module Suite