{"id":349,"date":"2023-01-30T14:36:00","date_gmt":"2023-01-30T14:36:00","guid":{"rendered":"https:\/\/automatethemundane.com\/index.php\/2023\/01\/30\/get-stage-id-for-business-process-flows\/"},"modified":"2023-06-18T21:37:10","modified_gmt":"2023-06-18T21:37:10","slug":"get-stage-id-for-business-process-flows","status":"publish","type":"post","link":"https:\/\/automatethemundane.com\/index.php\/2023\/01\/30\/get-stage-id-for-business-process-flows\/","title":{"rendered":"Get Stage ID for Business Process Flows"},"content":{"rendered":"\n<p class=\"has-text-color\" style=\"color: rgba(120, 119, 116, 1)\">1\/30\/2023<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<h1 class=\"wp-block-heading\">The Why<\/h1>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">When building Model Driven Apps you will probably want to move the Business Process Flow (BPF) forward. To do that you will need to get the BPF stage IDs. <\/p>\n\n\n<h1 class=\"wp-block-heading\">The How<\/h1>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Go to the business Process Flow<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/image-21.png\" alt=\"\"\/><\/figure>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/image-22-1024x535.png\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Copy the ID from the end of the URL<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/image-23-1024x59.png\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Remove the leading %7b <\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Remove the trailing %7d<\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Copy the ID into the Following URL<\/p>\n\n\n<pre class=\"wp-block-code\"><code><a href=\"https:\/\/org62f70b03.crm9.dynamics.com\/api\/data\/v9.1\/processstages?$select=stagename&#038;$filter=processid\/workflowid\">https:\/\/<\/a><a href=\"https:\/\/org62f70b03.crm9.dynamics.com\/api\/data\/v9.1\/processstages?$select=stagename&#038;$filter=processid\/workflowid\"><span style=\"color: rgba(212, 76, 71, 1)\">ORGID<\/span><\/a><a href=\"https:\/\/org62f70b03.crm9.dynamics.com\/api\/data\/v9.1\/processstages?$select=stagename&#038;$filter=processid\/workflowid\">.crm9.dynamics.com\/api\/data\/v9.1\/processstages?$select=stagename&amp;$filter=processid\/workflowid<\/a> eq <span style=\"color: rgba(212, 76, 71, 1)\">BPFID<\/span><\/code><\/pre>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(241, 241, 239)\">&#x1f4a1; Replace the ORGID and the ID with your Organization ID and the BPFID with the BPF ID<\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">Copy that URL into a browser and copy the ID of each stage<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>1\/30\/2023 The Why When building Model Driven Apps you will probably want to move the Business Process Flow (BPF) forward. To do that you will need to get the BPF stage IDs. The How Go to the business Process Flow Copy the ID from the end of the URL Remove the leading %7b Remove the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":142,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business-process-flow","entry","has-media"],"jetpack_featured_media_url":"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/cover-14-scaled.jpg","_links":{"self":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":1,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/349\/revisions\/352"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media\/142"}],"wp:attachment":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}