Try with changing the Message Type from WARN to ERROR in personalization.
Thanks for the point.
I tried to change to ERROR type but the message is not prompting what given.When I navigate to the next block i.e the Lines block its allowing to enter the records and also the records can be saved.
once you add/alter the personalization, pl. test it relogin or switch responsibility.
Disable the earlier Action.
Try with following setting.
Event - WHEN-NEW-BLOCK-INSTANCE
Block - LINE_SUM_FOLDER
condition - LENGTH(:INV_SUM_FOLDER.DESCRIPTION) > 30
Message Type : Show
Message Text : i/p your msg.
BuiltIn Type : GO_ITEM
ARGUMENT : INV_SUM_FOLDER.DESCRIPTION
BuiltIn Type : RAISE FORM_TRIGGER_FAILURE.
Test with relogin.
Raise form trigger failure will not work for the Trigger mentioned.
Please can you advise how to overcome that.
1 person found this helpful
Ignore and test it.
Or be more blunt and simply change the description into substr (description,1,30) when they leave the field (check which event fires and can be used best using Show Custom Events when you type out of the description).