Validation Condition to Know which Item Triggered Validation on Validations with Multiple Items Completed
I would like the ability to write a Validation condition based upon which Item triggered the validation, so as to reduce the number of Validations and/or Universal Functions that are needed. I could see some dynamic syntax like Item.TRIGGERED that could be used to know which item triggered the validation so different tasks could be performed.
Comments
5 comments
(Please note that as we are user-driven we can't guarantee that your request will be met unless it gets many votes and/or fit the product vision)
Read more about the Feature Request process here
[Internal Id: 23713]
Update! I did find the $[CURRENT_ITEM] special keyword and this works in the Validation SQL condition. To minimize the number of validations and universal functions, I tried to use the $[CURRENT_ITEM] in a Macro Conditional Statement and it did not work.
To be clear, this is what I did, that did not work:
1. Create a validation that is triggered by multiple Items ("Validating a Field")
2. Validation Condition was set to "No condition, just execute function"
3. UF macro was created that included IF Conditionals around $[CURRENT_ITEM].
Does the special keyword $[CURRENT_ITEM] get lost from validation to universal function?
It seems to be working fine as far as I can tell
Rasmus, I had put single quotes around the keyword $[CURRENT_ITEM] per the Boyum manual snippet below.
Once I removed the single quotes, everything started working. Thanks for your example above.
Goo to hear. Will fix sample...
Please sign in to leave a comment.