This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:adminmanual:businessmappings:condition_expression [2017/07/10 12:00] joebordes |
en:adminmanual:businessmappings:condition_expression [2021/12/12 12:57] (current) joebordes |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Condition Expression Business Mapping ====== | ====== Condition Expression Business Mapping ====== | ||
- | This mapping accepts two formats, one is a direct expression from the workflow expression engine and the other is a function expression that can be called from inside the system. The function parameters will be changed to the current record values if they exist. | + | This mapping permits us to evaluate an expression in the context of the application and get the result to decide subsequent actions. It accepts two formats, one is a direct expression from the workflow expression engine and the other is a function expression that can be called from inside the system. The function parameters will be changed to the current record values if they exist. |
<code xml> | <code xml> | ||
<map> | <map> | ||
Line 18: | Line 18: | ||
<code xml> | <code xml> | ||
<map> | <map> | ||
- | <expression>if employees > 10 then true else false end</expression> | + | <expression>if employees > 10 then 'true' else 'false' end</expression> |
</map> | </map> | ||
</code> | </code> |