I have a table of “Brands” and I want to validate that the brand name doesn’t already exist when inserting (or updating) a record.
I understand that I’d need a workflow for this, where I’d
- Run an operation to get all brands
- Check if the inputted brand exists in that list
I also tried by trying to get a record with the name inputted, but that failed because the workflow fails if no record is found. How should I proceed to implement this logic?
Thank you