{"id":20429,"date":"2024-02-16T16:01:38","date_gmt":"2024-02-16T15:01:38","guid":{"rendered":"https:\/\/help.openbee.com\/notes-on-workflow-behavior\/"},"modified":"2024-02-19T12:37:42","modified_gmt":"2024-02-19T11:37:42","slug":"notes-on-workflow-behavior","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-portal\/administrators-guide\/administration-du-workflow\/notes-on-workflow-behavior\/","title":{"rendered":"Notes on Workflow Behavior"},"content":{"rendered":"<div id=\"main-content\" class=\"wiki-content group\">\n<p>Some special features of the Open Bee\u2122 Portal&nbsp; workflow engine:&nbsp;<\/p>\n<ul>\n<li>The same folder cannot be monitored by two workflows.<\/li>\n<li>Priorities in triggering workflows initialized by &#8221; <span style=\"color: rgb(51,51,51);\">directory<\/span> &#8221; and by &#8220;Filing rules&#8221;: in case a document can trigger a workflow by &#8220;directory&#8221; and a workflow by &#8220;Filing rules&#8221;, it is the workflow&nbsp;<span style=\"color: rgb(51,51,51);\">by&nbsp; &#8220;directory&#8221;<\/span> that will be triggered.<\/li>\n<\/ul>\n<p style=\"margin-left: 30.0px;\">The triggering of workflows enabled by the addition of documents to an Open Bee\u2122 Portal&nbsp;folder therefore takes precedence over the triggering of workflows&nbsp; enabled by the filing rule.<\/p>\n<p style=\"margin-left: 30.0px;\"><u><strong>Example:<\/strong><\/u><\/p>\n<ul>\n<li style=\"list-style-type: none;background-image: none;\">\n<ul>\n<li>Workflow 1 is activated when filing documents in the &#8220;Supplier Invoices&#8221; folder<\/li>\n<li>Workflow 2 is enabled when filing PDF documents.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"margin-left: 30.0px;\">When adding a PDF invoice to the &#8220;Vendor&nbsp; Invoices&#8221;&nbsp; folder, both workflows are eligible to process this document.&nbsp;<\/p>\n<p><strong>In practice, it is workflow 1, triggered by the addition of a document in a &#8220;directory&#8221; that will be applied.<\/strong><\/p>\n<ul>\n<li>Moving a document that has already been processed by a workflow to a subfolder<span style=\"color: rgb(51,51,51);\"> monitored by that workflow does not re-trigger<\/span> the validation process.<\/li>\n<\/ul>\n<ul>\n<li>For performance reasons, the following limitations apply:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &#8211;&nbsp;&nbsp;  a&nbsp; maximum of 10 workflows can be created in&nbsp;Open Bee\u2122 Portal&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;  &#8211;&nbsp;&nbsp;  A maximum of&nbsp; 10 tasks\/transitions can be created in a workflow<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some special features of the Open Bee\u2122 Portal&nbsp; workflow engine:&nbsp; The same folder cannot be monitored by two workflows. Priorities in triggering workflows initialized by &#8221; directory &#8221; and by &#8220;Filing rules&#8221;: in case a document can trigger a workflow by &#8220;directory&#8221; and a workflow by &#8220;Filing rules&#8221;, it is the workflow&nbsp;by&nbsp; &#8220;directory&#8221; that will [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":20491,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-20429","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=20429"}],"version-history":[{"count":1,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20429\/revisions"}],"predecessor-version":[{"id":20482,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20429\/revisions\/20482"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20491"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=20429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}