How do I make the field unique in a form?

\There may be some special fields in your form and these fields cannot have duplicate value in any of the requests within the same workflow.

To make a field unique in the Form, the below steps need to be followed –

  • Go to Workflow Setup from the dashboard.
  • Select the workflow you want to update.
  • Click on the Form Creation tab and select the relevant stage (e.g., Initiator).
  • Click on the field that needs to be unique (e.g., Employee No).
  • In the Field Properties panel on the right, go to the Validation tab.
  • Scroll down to the Unique section and set it to Yes.
  • Click Save to apply the changes.

Example:

Each employee is assigned a unique Employee Number. When an employee submits a request and enters their number, Cflow checks to ensure the same value doesn’t already exist in another request.

  • If a duplicate is found, the system throws an error:
    “Cannot have duplicate value in Employee No field”
  • The request cannot be submitted until a unique value is entered.