Hi All,
Is there anyway to define to not allow the system to create a record if the combination of two field values already in the system like having a multiple field index as primary key.
Thanks in advance,
Ithrees
Hi ithrees,
We can achieve it by using Unique Fields Combination Trigger.
Thanks,
Rajkumar
Hi Rajkumar,
This is not working when I create the record from portal, Is there anything I am missing here?
Thanks,
Ithrees
I can see Unique Value trigger working as expected on Portal page. Please verify that your trigger:
- deployed
- configured to run "before create"
It is deployed and the timing is set to 'before create' but still it is not validating the trigger. It happens in portal and android mobile app as well but it is validating in the web.
I think the issue here is I am validating here two related fields together which is not working in the portal and mobile but in web it is working. This trigger type in working in the portal when the fields are its own defined fields.
So, as in my case how can I validate these two related fields?