I am trying to achieve what seems simple, but it is eluding me at the moment.
For my prototype I am attempting to allow the user to create exercises and then string these exercises together into workouts. With that in mind i have and Exercise DB [Exercise name, 1 Rep Max] and a Workouts DC [Exercise name (linked), Number of Repetitions, Weight].
So the exercise values should only be entered once i.e. user enters Bicep Curl with a 1RM of 25, and then tries again to can only be entered once, and if the user tries again to enter Bicep Curl with a 1RM of 25 this should prevent a new entry being created in the DB.
It feels like i should be able to do this with the ‘Only when’ part of the workflow but for the life of me I cannot figure out the logical check that should be put in there to prevent a duplicate entry.
Any guidance or reference examples would be greatly appreciated.