{"id":238,"date":"2016-10-19T11:35:00","date_gmt":"2016-10-19T11:35:00","guid":{"rendered":""},"modified":"2020-01-17T07:38:38","modified_gmt":"2020-01-17T07:38:38","slug":"goto-step","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/","title":{"rendered":"Goto Step"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">In this blog we will discuss about Goto Step:<\/p>\n<p>The Goto Step specifies the next step in the workflow model to execute, depending on the result of an ECMA script.<\/p>\n<p><b>If Script returns true<\/b>, The Goto step completes and the workflow engine executes the specified step.<br \/>\n<b>If Script returns false<\/b>, The Goto step completes and the normal routing logic determines the next step to executes.<\/p>\n<p>When you drop this step in your model and double click on this step you will find two tab <b>Common <\/b>and <b>Process.<\/b><br \/>\nIn <b>common <\/b>tab you have to give the title and and description and , the following properties are available &nbsp;in <b>process <\/b>tab:<\/p>\n<p>1. <b>Step to go to: <\/b>Select the step to execute.<br \/>\n2. <b>Script path:<\/b> The path of the ECMA script that determines whether to execute Goto step.<br \/>\n3. <b>Script:<\/b> The ECMA script that determines whether to execute the Goto step.<\/p>\n<p>Specify the value for either the Script path or the script property. If you specify values for both properties, the step uses Script Path.<\/p>\n<p>In my case there are four step I can switch.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"><img fetchpriority=\"high\" decoding=\"async\" border=\"0\" height=\"218\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png\" width=\"320\"><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>And write an ECMA script which return always true.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow18.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" height=\"217\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow18-300x204.png\" width=\"320\"><\/a><\/div>\n<p>Click OK. Now after this step Dialog Participant Step will be execute.<\/p>\n<p><span style=\"color: purple;\">Be Happy<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we will discuss about Goto Step: The Goto Step specifies the next step in the workflow model [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,82,204,203,206,202,124,205],"tags":[],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-aem","category-cq5","category-goto-step","category-goto-step-in-aem","category-how-can-we-write-the-goto-step","category-use-of-goto-step","category-workflow","category-workflow-in-aem"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Goto Step - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Goto Step - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"In this blog we will discuss about Goto Step: The Goto Step specifies the next step in the workflow model [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-19T11:35:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-17T07:38:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png\" \/>\n<meta name=\"author\" content=\"Team Lhotse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Lhotse\" \/>\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:\/\/lhotsetechnologies.com\/blog\/goto-step\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\"},\"author\":{\"name\":\"Team Lhotse\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\"},\"headline\":\"Goto Step\",\"datePublished\":\"2016-10-19T11:35:00+00:00\",\"dateModified\":\"2020-01-17T07:38:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\"},\"wordCount\":205,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png\",\"articleSection\":[\"AEM\",\"CQ5\",\"Goto Step\",\"Goto Step in AEM\",\"How can we write the Goto Step\",\"Use of Goto Step\",\"workflow\",\"Workflow in AEM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\",\"name\":\"Goto Step - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png\",\"datePublished\":\"2016-10-19T11:35:00+00:00\",\"dateModified\":\"2020-01-17T07:38:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17.png\",\"width\":521,\"height\":355},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Goto Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\",\"name\":\"Team Lhotse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Team Lhotse\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Goto Step - AEM Blog | Lhotse Technologies","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:\/\/lhotsetechnologies.com\/blog\/goto-step\/","og_locale":"en_US","og_type":"article","og_title":"Goto Step - AEM Blog | Lhotse Technologies","og_description":"In this blog we will discuss about Goto Step: The Goto Step specifies the next step in the workflow model [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2016-10-19T11:35:00+00:00","article_modified_time":"2020-01-17T07:38:38+00:00","og_image":[{"url":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png","type":"","width":"","height":""}],"author":"Team Lhotse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Lhotse","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/"},"author":{"name":"Team Lhotse","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d"},"headline":"Goto Step","datePublished":"2016-10-19T11:35:00+00:00","dateModified":"2020-01-17T07:38:38+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/"},"wordCount":205,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png","articleSection":["AEM","CQ5","Goto Step","Goto Step in AEM","How can we write the Goto Step","Use of Goto Step","workflow","Workflow in AEM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/","url":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/","name":"Goto Step - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17-300x204.png","datePublished":"2016-10-19T11:35:00+00:00","dateModified":"2020-01-17T07:38:38+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/goto-step\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#primaryimage","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2016\/10\/workflow17.png","width":521,"height":355},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/goto-step\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Goto Step"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d","name":"Team Lhotse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Team Lhotse"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":2,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}