"Did you know?"

Abhishek_Thakur
Mega Sage

Unique field- This field type is a unique set of identity for records to prevent from duplicity

 

You can do it with the help of scripting, but that will require brainstorming.

 

Here 👇is the quick tip you can follow: -Unique type.pngUnique truefalse.png

 

Note: You can't configure this from dictionary entry neither in default nor in advance view. If you need to configure this, you need to navigate to the table definition, pull the field type (Unique) and set it to true. That is how you can efficiently utilize the capability of unique field with scripting.

1 REPLY 1

Mark Manders
Mega Patron

Maybe a little addition: be aware that this can cause issues if you don't think about it upfront. If you put this to true on cmdb_ci table, as an example, you can't create two ci's with the same name, even if the classes are completely different.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark