You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I've create a ConfiForm Rule fore Field Definition. I've already created a composite key called "uniqueId" which consists of CONCAT("[entry.recordOwner]","[entry.userType]").
When I try to "Validate uniqueness" on this field, it will give an error message if the recordOwner (userId) is in there. It seems to not make any distinction for the composite key.
I need this because each user can have an entry of each of 2 types.
What am I doing incorrectly?
The parameter "Field names to be used to construct unique key" expects a comma separated list of field names (you must be using some old version of ConfiForms where the description of the field was still missing - sorry about that)
So just put
recordOwner,userType
No need for any extra field or any other parameters in this macro
Alex
Alex,
Thank you for your reply. It turned out not to be this complicated. I only needed a Validation Rule of [unique] on my field, uniqueId.
Thank you.
-Kathleen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is an alternative way of doing this, but the Validate uniqueness rule is even easier in my opinion... but that is for you to decide and pick what is best for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.