Sepasoft MES Module Suite
system.mes.batch.queue.getActiveSteps(batchQueueEntry, [path])
Method on Ignition.mes.batch.queue for 3.81.12 RC3 and later.
Below:
- Function Name
- Summary
- Syntax
- Parameters
- Returns
- Code
- Result
- Notes
- Common Errors
- Related Functions
- Category Functions
- Batch Queue, Execution functions.
- Version
- Permissions / Scope
Related Topics: <link to related component(s)>
Function Name
Summary
This function changes the active execution of a step to a different valid step in the recipe. The batch must be actively running, the specified step's associated logic (e.g. Procedure, Unit Procedure, or Operation) must be in Manual mode, and the currently active step must be in a terminal state (e.g. idle, complete, aborted, or stopped).
Syntax
Python |
getActiveSteps( batchQueueEntry: BatchQueueEntry path: String = None ) |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
batchQueueEntry | batch object BatchQueueEntry | Yes | batchQueueEntry: The BatchQueueEntry object to get active steps for. |
path | String | Optional | Optional full path to a logic item in the recipe. If not specified, active steps for all logic items in the recipe will be returned. The format of the path must follow the /Procedure/Unit_Procedure/Operation pattern. The "{}" can be used in place of the Procedure. Example: /{}, /{}/Unit_Procedure, or /{}/Unit_Procedure/Operation Default: |
Returns
| Type | Description |
|---|---|
|
list of step paths to steps that are an "active step" in the execution logic. |
Example
Code
bq =
Result
Batch execution change. No return value.
Notes
Important behaviors, limitations, or rules.
Examples:
-
Case sensitive.
-
Null values return empty string.
-
Does not modify the original variable.
Common Errors
| Error | Cause | Solution |
|---|---|---|
| Invalid parameter type | Parameter must be a string | Convert value before calling function |
Related Functions
Category Functions
Batch Queue, Execution functions.
Version
Active Step | Skip Step is available in 3.81.12 RC3 and later.
Permissions / Scope
If the function only works in certain contexts.
Sepasoft MES Module Suite