Standard change template field read-only

Priyanka56
Tera Expert

Hi,

I have a requirement to add the CI field on the Standard change template as optional, BUT if it is filled in on the template, then once the template is approved, the CI field should be read only when it is used to create a change.

When I add CI field as a Read-only field in Standard change properties, am unable to update the field just incase if CI is not filled in from the template(as its optional).

Could anyone please advise.

find_real_file.png

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi,

I would suggest to make the Configuration item field for standard change request form read-only using UI policy or client script.

if it is empty the make it no-read-only, else will be read-only.

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Jaspal Singh
Mega Patron
Mega Patron

Hi,

That is the purpose of Standard change (pre-approved). If you are unsure of CI or you need to update it you need to use Normal change.

Standard change are pre-approved & available as template. If you wish you edit the purpose itself of standard change is defeated.

If you still need it you need to control it by UI Policy or Client script but still suggestion will be to use Normal for those cases.