I have a modal with a field my_field which has to be unique. I´ll check if a task has to be executed later onwards by checking if the entity already exists:
my_field