system.recipe.changeRecipeState

Sepasoft MES Module Suite

system.recipe.changeRecipeState(recipeName, newRecipeState, note)

Change state of a specified recipe.

Syntax

system.recipe.changeRecipeState(recipeName, newRecipeState, note)

  • Parameters

String recipeName - Name of recipe.

String newRecipeState - Optional Name - this provides a way to filter out a subset of all recipes .

String  note - Optional note to be stored in the recipe change log.

  • Returns

Nothing

  • Scope

All

Python
recipeName = "Stubborn Soda"
newRecipeState = "Pre Clean"
note = 'Stubborn Soda state changed from Hold to Pre Clean on 6/1/18 by Robert Kellogg'
system.recipe.changeRecipeState(recipeName, newRecipeState, note)
print note

Output

Code
Stubborn Soda state changed from Hold to Pre Clean on 6/1/18 by Robert Kellogg



Sepasoft MES Module Suite