{"id":1200,"date":"2015-03-05T10:00:46","date_gmt":"2015-03-05T04:30:46","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=1200"},"modified":"2015-03-05T10:00:46","modified_gmt":"2015-03-05T04:30:46","slug":"scripting-on-business-process-flow-in-crm-2015-part-ii","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/","title":{"rendered":"Scripting on Business Process Flow in CRM 2015- Part II"},"content":{"rendered":"<p>In our previous first part <a title=\"BPF Script Part 1\" href=\"http:\/\/bit.ly\/1Bw2Oc1\" target=\"_blank\" rel=\"noopener noreferrer\">blog<\/a>, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods.<\/p>\n<ul>\n<li><strong>Get the Active Path<\/strong><\/li>\n<\/ul>\n<p>We can get the Active Path i.e., serves the exact seq. of stages that got the user to where he is now, the stage he is on and the predicted set of future stages on the basis of Branching rules.<\/p>\n<p><strong>Snippet:<\/strong><\/p>\n<p>var stgColl = Xrm.Page.data.process.getActivePath()<\/p>\n<ul>\n<li><strong>Get the Enabled Processes<\/strong><\/li>\n<\/ul>\n<p>We can get the list of enabled processes for a particular entity which user can use to switch.<\/p>\n<p><strong>Snippet:<\/strong><\/p>\n<p>Xrm.Page.data.process.getEnabledProcess(callbackFunction(enabledProcesses))<\/p>\n<p>callbackFunction(enabledProcesses) :\u00a0 This callback function will accept a parameter. The parameter will be an object having the list of enabled processes.<\/p>\n<ul>\n<li><strong>Navigate Previous or Next<\/strong><\/li>\n<\/ul>\n<p>What if you want to move the user next or prev depending on the value of a step on the current stage, to make that happen, we have 2 functions:<\/p>\n<ul>\n<li><strong>moveNext: <\/strong><\/li>\n<\/ul>\n<p>This will move the user to the next stage.<\/p>\n<p><strong>Snippet:<\/strong><\/p>\n<p>Xrm.Page.data.process.moveNext(callbackFunction)<\/p>\n<p>callbackFunction: The callback function can be used to perform any actions that needs to be done after moving the user to the next stage.<\/p>\n<ul>\n<li><strong>movePrevious:<\/strong><\/li>\n<\/ul>\n<p>This will move the user to the previous stage.<\/p>\n<p><strong>Snippet:<\/strong><\/p>\n<p>Xrm.Page.data.process.movePrevious(callbackFunction)<\/p>\n<p>callbackFunction: The callback function can be used to perform any actions that needs to be done after moving the user to the previous stage.<\/p>\n<ul>\n<li><strong>Process Methods<\/strong><\/li>\n<\/ul>\n<p>In the first part of the blog,\u00a0we discussed how to retrieve Active Process. Now, let`s see how to retrieve the properties from the returned object.<\/p>\n<p>var procObj = Xrm.Page.data.process.getActiveProcess();<\/p>\n<ul>\n<li><strong>Get the Id:<\/strong><\/li>\n<\/ul>\n<p>procObj.getId();<\/p>\n<p>Returns a string.<\/p>\n<ul>\n<li><strong>Get the Name:<\/strong><\/li>\n<\/ul>\n<p>procObj.getName();<\/p>\n<p>Returns a string.<\/p>\n<ul>\n<li><strong>Get the Stage Collection:<\/strong><\/li>\n<\/ul>\n<p>procObj.getStages();<\/p>\n<p>Returns the collection of stages<\/p>\n<ul>\n<li><strong>Check whether the process is rendered or not:<\/strong><\/li>\n<\/ul>\n<p>procObj.isRendered();<\/p>\n<p>Returns a bool.<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Stage Methods<\/strong><\/li>\n<\/ul>\n<p>In the first part of the blog, we discussed how to retrieve Active Stage. Now, let`s see how to retrieve the properties from the returned object.<\/p>\n<p>var actStg = Xrm.Page.data.process.getActiveStage();<\/p>\n<ul>\n<li><strong>Get the Category:<\/strong><\/li>\n<\/ul>\n<p>actStg. getCategory().getValue();<\/p>\n<p>Returns an integer value of the Business Process Flow category.<\/p>\n<ul>\n<li><strong>Get the Entity Name:<\/strong><\/li>\n<\/ul>\n<p>actStg.getEntityName();<\/p>\n<p>Returns the logical name of the entity.<\/p>\n<ul>\n<li><strong>Get the Id:<\/strong><\/li>\n<\/ul>\n<p>actStg.getId();<\/p>\n<p>Returns a string.<\/p>\n<ul>\n<li><strong>Get the Stage Name:<\/strong><\/li>\n<\/ul>\n<p>actStg.getName();<\/p>\n<p>Returns a string.<\/p>\n<ul>\n<li><strong>Get the Status:<\/strong><\/li>\n<\/ul>\n<p>actStg.getStatus();<\/p>\n<p>Returns &#8220;active&#8221; or\u00a0 &#8220;inactive&#8221;.<\/p>\n<ul>\n<li><strong>Get the Steps:<\/strong><\/li>\n<\/ul>\n<p>var stpColl = actStg.getSteps();<\/p>\n<p>Returns collection of steps.<\/p>\n<ul>\n<li><strong>Step Methods:<\/strong><\/li>\n<\/ul>\n<p>In the previous point, we got the step collection. Now, let`s see how to retrieve the properties from the returned object.<\/p>\n<ul>\n<li><strong>Get the Logical Name:<\/strong><\/li>\n<\/ul>\n<p>stpColl.getAttribute();<\/p>\n<p>Returns the logical name of the step.<\/p>\n<ul>\n<li><strong>Get the Name of the step:<\/strong><\/li>\n<\/ul>\n<p>stpColl.getName();<\/p>\n<p>Returns the step name.<\/p>\n<ul>\n<li><strong>Get the Required Level:<\/strong><\/li>\n<\/ul>\n<p>stpColl.isRequired();<\/p>\n<p>Returns a bool.<\/p>\n<p>All these are new addition in the CRM 2015 box and those are the most asked and helpful additions. We can achieve many things by hooking onto stage change and stage select events.<\/p>\n<p>Hope this article helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/\">Read More: Scripting on Business Process Flow in CRM 2015- Part II &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,22,24],"tags":[217,398,973],"class_list":["post-1200","post","type-post","status-publish","format-standard","hentry","category-business-process-flows","category-dynamics-crm-2015","category-dynamics-crm-2016","tag-bpf","tag-crm-2015","tag-javascripts"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-03-05T04:30:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-03-05T04:30:46+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#blogposting\",\"name\":\"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Scripting on Business Process Flow in CRM 2015- Part II\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#articleImage\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"datePublished\":\"2015-03-05T10:00:46+05:30\",\"dateModified\":\"2015-03-05T10:00:46+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#webpage\"},\"articleSection\":\"Business Process Flows, Dynamics CRM 2015, Dynamics CRM 2016, BPF, CRM 2015, JavaScripts\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"position\":2,\"name\":\"Dynamics CRM\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2015\\\/#listItem\",\"name\":\"Dynamics CRM 2015\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2015\\\/#listItem\",\"position\":3,\"name\":\"Dynamics CRM 2015\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2015\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#listItem\",\"name\":\"Scripting on Business Process Flow in CRM 2015- Part II\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#listItem\",\"position\":4,\"name\":\"Scripting on Business Process Flow in CRM 2015- Part II\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2015\\\/#listItem\",\"name\":\"Dynamics CRM 2015\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/\",\"name\":\"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2015\\\/03\\\/scripting-on-business-process-flow-in-crm-2015-part-ii\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2015-03-05T10:00:46+05:30\",\"dateModified\":\"2015-03-05T10:00:46+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to","canonical_url":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#blogposting","name":"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Scripting on Business Process Flow in CRM 2015- Part II","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/#articleImage","width":1000,"height":325,"caption":"inogic logo"},"datePublished":"2015-03-05T10:00:46+05:30","dateModified":"2015-03-05T10:00:46+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#webpage"},"articleSection":"Business Process Flows, Dynamics CRM 2015, Dynamics CRM 2016, BPF, CRM 2015, JavaScripts"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","position":2,"name":"Dynamics CRM","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/#listItem","name":"Dynamics CRM 2015"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/#listItem","position":3,"name":"Dynamics CRM 2015","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#listItem","name":"Scripting on Business Process Flow in CRM 2015- Part II"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#listItem","position":4,"name":"Scripting on Business Process Flow in CRM 2015- Part II","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/#listItem","name":"Dynamics CRM 2015"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/","name":"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2015-03-05T10:00:46+05:30","dateModified":"2015-03-05T10:00:46+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to","og:url":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/","article:published_time":"2015-03-05T04:30:46+00:00","article:modified_time":"2015-03-05T04:30:46+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Scripting on Business Process Flow in CRM 2015- Part II - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"In our previous first part blog, we explained about BPF, it`s enhancements and few of the methods from the list of available methods. This second blog installation will explain the other available methods. Get the Active Path We can get the Active Path i.e., serves the exact seq. of stages that got the user to","twitter:creator":"@inogic","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"3 minutes"},"aioseo_meta_data":{"post_id":"1200","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 06:11:54","updated":"2025-07-03 23:16:43","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/\" title=\"Dynamics CRM\">Dynamics CRM<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/\" title=\"Dynamics CRM 2015\">Dynamics CRM 2015<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tScripting on Business Process Flow in CRM 2015- Part II\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics CRM","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/"},{"label":"Dynamics CRM 2015","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2015\/"},{"label":"Scripting on Business Process Flow in CRM 2015- Part II","link":"https:\/\/www.inogic.com\/blog\/2015\/03\/scripting-on-business-process-flow-in-crm-2015-part-ii\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/1200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=1200"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/1200\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=1200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=1200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=1200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}