Forum Academy Marketplace Showcase Pricing Features

Avoid duplicated things with auto-binding

Hi,

when I use auto-binding, how can I prevent/avoid to inserted duplicated things? I create a workflow for an input doing a search allowing to store data only when the value is unique… but I’m not able to do same workflow when I am in a repeated group. Thanks for any advice!

Auto bind shouldn’t result in duplicates. Auto bind doesn’t create anything new, rather you attach it to a specific record and basically are setting it to ‘auto save’

Thanks for your reply. The duplicates occur in this case:

imagine you have a list of value:

  • aa
  • ab
  • ac
  • ad

If you change “ab” entry in “aa”, the list became:

  • aa
  • aa
  • ac
  • ad

I would like to avoid this.

Ah I see.

Auto binding can’t be used here then as you need to do a duplicates check first before saving.

Use the event ‘when an input’s value changes’ and add a step to make changes to a thing (the particular record) and only when conditional ‘do a search for listing, name = input’s value’ count is 0

And some sort of error message that shows when the count is >0

1 Like