How to add active button in Location table.

B Ashok
Tera Guru

Hello Team,

 

Currently we are using OOB location table, but it does not have active True/False. 

 

How should I add ? 

BAshok_0-1686045202696.png

 

Thanks

2 REPLIES 2

Grzegorz Kaznoc
Tera Contributor

Notice that ootb cmn_location table has no active flag. So you can create your custom filed 'u_active' with type "True/False" and then you can create ui action to activate / deactivate specific location by setting value of this field.

 

Remember that it has no other effect, so once you introduce active flag you want to probably create ACL or Business Rule to control access to deactivated locations.

hvaibhare
Tera Expert

Hi Ashok,

 

Please follow below link to add new "Active" field on "Location" table.

Link : https://developer.servicenow.com/dev.do#!/learn/learning-plans/utah/new_to_servicenow/app_store_lear... .

 

Field label : Active

Backed name : u_active

Field Type : "True/False"

 

Regards,

Harish V