{"id":616,"date":"2018-09-21T18:44:21","date_gmt":"2018-09-21T18:44:21","guid":{"rendered":"http:\/\/www.ciraltos.com\/?p=616"},"modified":"2023-03-24T00:04:52","modified_gmt":"2023-03-24T05:04:52","slug":"parent-child-runbooks-and-shared-variables-with-azure-automation","status":"publish","type":"post","link":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/","title":{"rendered":"Parent Child Runbooks and Shared Variables with Azure Automation"},"content":{"rendered":"<p style=\"text-align: left;\"><a href=\"\/wp-content\/uploads\/2017\/11\/PowerShellDSC.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft wp-image-359\" src=\"\/wp-content\/uploads\/2017\/11\/PowerShellDSC-150x150.png\" alt=\"AzureAutomation\" width=\"158\" height=\"83\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/11\/PowerShellDSC-300x158.png 300w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/11\/PowerShellDSC.png 600w\" sizes=\"(max-width: 158px) 100vw, 158px\" \/><\/a>In this video I go over the two methods of starting a runbook from another runbook.&nbsp; This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.&nbsp; I go over the two different ways to start a child runbook, by Inline Execution and with the Start-AzureRMAutomationRunbook cmdlet.&nbsp;<!--more--><\/p>\n<p>This video also goes over the multiple way to pass data between runbooks with both Inline Execution and the cmdlet method, detailing the nuances of each.&nbsp; I also introduce how to use Azure Automation Variable Assets from a within a runbook.&nbsp; There are six demonstrations that go over the multiple scenarios of starting runbooks and passing data between them.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/EAn9RTQCBQM\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video I go over the two methods of starting a runbook from another runbook.&nbsp; This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.&nbsp; I go over the two different ways to start a child runbook, by Inline Execution and with the Start-AzureRMAutomationRunbook cmdlet.&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[2,252],"tags":[271,230,256,9,210,254,275,257,255,253,278,282,281,269,270,277,276,20,267,231,279,280,237,268],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos<\/title>\n<meta name=\"description\" content=\"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos\" \/>\n<meta property=\"og:description\" content=\"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\" \/>\n<meta property=\"og:site_name\" content=\"ciraltos\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-21T18:44:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-24T05:04:52+00:00\" \/>\n<meta name=\"author\" content=\"Travis Roberts\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:site\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Travis Roberts\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\"},\"author\":{\"name\":\"Travis Roberts\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"headline\":\"Parent Child Runbooks and Shared Variables with Azure Automation\",\"datePublished\":\"2018-09-21T18:44:21+00:00\",\"dateModified\":\"2023-03-24T05:04:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\"},\"wordCount\":127,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"keywords\":[\"Add on\",\"Automation\",\"Automation Runbook\",\"Azure\",\"Azure Automation\",\"Azure Automation Hybrid\",\"Azure Automation Loglinking\",\"Azure Automation step by step\",\"Azure Automation Tutorial\",\"Azure Runbook\",\"child\",\"cmdlet\",\"inline execution\",\"ISE\",\"ISE addon\",\"parent\",\"parent child\",\"Powershell\",\"powershell runbook\",\"Runbook\",\"shared\",\"shared variable\",\"variable\",\"workflow\"],\"articleSection\":[\"Azure\",\"Azure Automation\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\",\"name\":\"Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos\",\"isPartOf\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\"},\"datePublished\":\"2018-09-21T18:44:21+00:00\",\"dateModified\":\"2023-03-24T05:04:52+00:00\",\"description\":\"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.ciraltos.com\/staging2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Parent Child Runbooks and Shared Variables with Azure Automation\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/\",\"name\":\"ciraltos\",\"description\":\"cloud, technology and trends\",\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\",\"name\":\"Travis Roberts\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"contentUrl\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"width\":5657,\"height\":3563,\"caption\":\"Travis Roberts\"},\"logo\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.ciraltos.com\",\"https:\/\/twitter.com\/ciraltos\"],\"url\":\"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos","description":"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/","og_locale":"en_US","og_type":"article","og_title":"Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos","og_description":"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.","og_url":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/","og_site_name":"ciraltos","article_published_time":"2018-09-21T18:44:21+00:00","article_modified_time":"2023-03-24T05:04:52+00:00","author":"Travis Roberts","twitter_card":"summary_large_image","twitter_creator":"@ciraltos","twitter_site":"@ciraltos","twitter_misc":{"Written by":"Travis Roberts","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#article","isPartOf":{"@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/"},"author":{"name":"Travis Roberts","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"headline":"Parent Child Runbooks and Shared Variables with Azure Automation","datePublished":"2018-09-21T18:44:21+00:00","dateModified":"2023-03-24T05:04:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/"},"wordCount":127,"commentCount":0,"publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"keywords":["Add on","Automation","Automation Runbook","Azure","Azure Automation","Azure Automation Hybrid","Azure Automation Loglinking","Azure Automation step by step","Azure Automation Tutorial","Azure Runbook","child","cmdlet","inline execution","ISE","ISE addon","parent","parent child","Powershell","powershell runbook","Runbook","shared","shared variable","variable","workflow"],"articleSection":["Azure","Azure Automation"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/","url":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/","name":"Parent Child Runbooks and Shared Variables with Azure Automation - ciraltos","isPartOf":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#website"},"datePublished":"2018-09-21T18:44:21+00:00","dateModified":"2023-03-24T05:04:52+00:00","description":"In this video I go over the two methods of starting a runbook from another runbook in Azure Automation.\u00a0 This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.","breadcrumb":{"@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ciraltos.com\/staging2\/parent-child-runbooks-and-shared-variables-with-azure-automation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.ciraltos.com\/staging2\/"},{"@type":"ListItem","position":2,"name":"Parent Child Runbooks and Shared Variables with Azure Automation"}]},{"@type":"WebSite","@id":"http:\/\/www.ciraltos.com\/staging2\/#website","url":"http:\/\/www.ciraltos.com\/staging2\/","name":"ciraltos","description":"cloud, technology and trends","publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a","name":"Travis Roberts","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/","url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","contentUrl":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","width":5657,"height":3563,"caption":"Travis Roberts"},"logo":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.ciraltos.com","https:\/\/twitter.com\/ciraltos"],"url":"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/616"}],"collection":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/comments?post=616"}],"version-history":[{"count":4,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/616\/revisions"}],"predecessor-version":[{"id":4077,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/616\/revisions\/4077"}],"wp:attachment":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media?parent=616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/categories?post=616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/tags?post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}