Skip to end of metadata
Go to start of metadata
Description

Get the parent name of the given recipe. If the recipe has no parent (it is the parent) an empty string will be returned. 

Syntax

system.recipe.getRecipeParent(recipeName)


  • Parameters

String recipeName - Name of the recipe.

  • Returns

String parentRecipeName - The parent name of the given recipe. If the recipe has no parent (it is the parent) an empty string will be returned. 

  • Scope

All

Code Examples
Code Snippet
childRecipeName = 'child recipe name'
parentRecipe = system.recipe.getRecipeParent(childRecipeName)
print parentRecipe
  • No labels