Symptom
The ‘ContainsOnly’ feel expression returns TRUE in the following scenario:
Inputs:
Input 1 (Text List)
Input 2 (Text List)
FEEL Expression:
= ContainsOnly(‘Input 1’, ‘Input 2’)
If Input 1 is empty and Input 2 is defined, you would expect the output to be “No”, but is returning “Yes”.
Resolution
The empty set is always included all sets. That is the reason why the empty set is also regocnized in Input 2 and therefore the mathematical logic returns a Yes in this case.
Not having the possibility to change the mathematical logic is a limitation that has already been reported to our Product Managers. If you are affected by this limitation and want to be kept up to date about this feature request, please create a ticket in our Support Portal and reference this knowledge base article.
Keywords
KBA , BPI-SIG-PM-MOD-EDT , Graphical Editor for SAP Signavio Process Manager , Product Enhancement