Custom Expression Builder: Difference between revisions

From Hornbill
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
This document can now be found at its new location in the [https://docs.hornbill.com/servicemanager-config/customize/workflows/decision Hornbill Document Library].
[[file:hornbill-document-library.png|Decision Node and Custom Expressions|link=https://docs.hornbill.com/servicemanager-config/customize/workflows/decision]]
<!--
{{breadcrumb|[[Main Page|Home]] > [[Configuration]] > [[Business Process Designer]] > Custom Expression Builder|Administration}}
{{breadcrumb|[[Main Page|Home]] > [[Configuration]] > [[Business Process Designer]] > Custom Expression Builder|Administration}}
{{Section|
{{Section|
Line 8: Line 14:
:* Success
:* Success
:* No Match
:* No Match
:* Expiry
:* Expired
:* Task or Authorisation outcomes
:* Task or Authorisation outcomes


In addition to these default options, you can also build your own custom expressions using the Custom Expression Builder. Custom Expressions will allow you to evaluate the outcomes of any node within the stage the precedes the decision node.  To access the Custom Expression Builder, click on the description box for each connector that exits a Decision Node and from the pick list, select Custom Expression.|
In addition to these default options, you can also build your own custom expressions using the Custom Expression Builder. Custom Expressions will allow you to evaluate the outcomes of any node that precedes the decision node within the same stage.|
{{rightBox|Related Articles|
{{rightBox|Related Articles|
:* [[Variable Picker]]
:* [[Variable Picker]]
Line 18: Line 24:
}}
}}
}}
}}
 
{{Section|
==What is a Custom Expression==
==What is a Custom Expression==
[[File:bpmcustomexpress.png|right|350px]]
[[File:bpmcustomexpress.png|right|350px]]
A Custom Expression consists of one or more tests that evaluate the outcomes of nodes within the current stage. If the tests within the expression are met, that path out of the decision node will be followed.  
A Custom Expression consists of one or more tests that evaluate the outcomes of nodes within the current stage. If the tests within the expression are met, that path out of the decision node will be followed. To add a Custom Expression, click on the description box of a connector that exits a Decision Node and in the ''Goto If'' dialog box, select ''Custom Expression'' from the list of outcomes.
 
|}}
Each path out of a decision node that is added will contain a default condition.  The first path will start with '''No Match''' which is a path that would be followed if none of the other expressions on the other paths don't match.  Each additional path added will have a '''??''' displayed, indicating that the expression needs to be set.


==Building Expressions==
==Building Expressions==
[[File:custom_expression_builder.png|right|500px]]
[[File:custom_expression_builder.png|right|500px]]
The custom expression builder provides the ability to create one or multiple expressions which can be evaluated when a process reaches the decision node.
The custom expression builder allows you to create one or more tests which can be evaluated when a workflow reaches the decision node.


===Adding your first Expression===
===Adding your first Expression===
Line 64: Line 69:
* Use the '''Delete All''' option to delete all the rules (expressions)  
* Use the '''Delete All''' option to delete all the rules (expressions)  


 
-->
[[Category:Administration]]
[[Category:HDOC]]

Latest revision as of 23:46, 31 May 2024

This document can now be found at its new location in the Hornbill Document Library.

Decision Node and Custom Expressions