{"id":449,"date":"2023-02-09T01:16:00","date_gmt":"2023-02-09T01:16:00","guid":{"rendered":"https:\/\/automatethemundane.com\/index.php\/2023\/02\/09\/building-a-model-driven-app-part-4-bpf\/"},"modified":"2023-06-27T15:14:10","modified_gmt":"2023-06-27T15:14:10","slug":"building-a-model-driven-app-part-4-bpf","status":"publish","type":"post","link":"https:\/\/automatethemundane.com\/index.php\/2023\/02\/09\/building-a-model-driven-app-part-4-bpf\/","title":{"rendered":"Building a Model Driven App Part 4-BPF"},"content":{"rendered":"\n<p class=\"has-text-color\" style=\"color:rgba(120, 119, 116, 1)\">2\/9\/2023<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">The Why<\/h1>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Model driven apps provide a powerful way to automate business processes, allowing users to integrate data and create workflow processes quickly and easily. Business process flows (BPF) provide an intuitive way to define the steps in a business process and the conditions for the process to move from one step to the next. This allows users to quickly create, deploy and manage their business processes, improving productivity and efficiency. BPFs are an integral part of model driven apps, helping to create and manage business processes, and ensuring that data is accurately tracked and shared with the right users. With BPFs, users can define the steps in a process and the conditions for the process to move forward, providing more control and visibility over the process. This makes for more efficient business processes and fewer errors.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">The How<\/h1>\n\n\n\n<p class=\"has-background\" style=\"background-color:rgb(241, 241, 239)\">\ud83d\udca1 When making edits to any condition or stage you MUST press Apply after each change. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the solution Select New, Automate, Process, Business process flow\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-30-1024x229.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Enter a good Display Name and select the Customer Requests table. The Name will autofill. \n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-31-362x1024.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Using our diagram from the DFD, rename the first Stage to Customer input. Select the Data Step #1 and set the data field to  Cost. \n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-32-1024x319.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Put in a new Stage, rename it to Supervisor. Select the Data Step #1 and set the data field to Cost. \n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-33-1024x374.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Add a condition and set the filed to Cost, is less than or equal to 100. \n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-34-1024x460.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Add a new stage and call is Local Approve\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-35-1024x207.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Add another condition below the first condition and add two rules, the first is greater than 100 and the second less than 1000. \n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-36-1024x520.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Add a Stage for the true side and call it Branch Approval\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-37-1024x574.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Add a final Stage and call it Higher approval\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-38-1024x700.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/untitled-39-1024x341.png\" alt=\"\"\/><\/figure>\n<\/li>\n\n\n\n<li>Press Validate to make sure all the stages and condition are correct. Then press the Activate button. This will make the BPF live. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/image-5-1024x347.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/image-6-1024x553.png\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>2\/9\/2023 The Why Model driven apps provide a powerful way to automate business processes, allowing users to integrate data and create workflow processes quickly and easily. Business process flows (BPF) provide an intuitive way to define the steps in a business process and the conditions for the process to move from one step to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,6],"tags":[4],"class_list":["post-449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business-process-flow","category-model-driven-app","tag-mda","entry","has-media"],"jetpack_featured_media_url":"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/05\/cover-4-scaled.jpg","_links":{"self":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/449","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=449"}],"version-history":[{"count":1,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":450,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions\/450"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media\/126"}],"wp:attachment":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}