Flag Action - Folder which must raise flag

If setting an expression for the 'folder which must raise flag' property of a Flag Action be careful of Intellisense.

 

If you set the expression in the property pane and use the enter key to select an intellisense option the value will not be saved correctly.  The dialog closes and all may look OK but all that is saved is the text you typed, not the selected option.  If you select an option with the mouse or use the expression editor there is no issue.

 

To compound this there is no design time validation of this expression, neither is it picked up by validation, but deployment fails with a useless message.  This expression is not within the scope of the designer search function either so tracing the problem could be time consuming.

Tagged: