Reference Qualifier in ServiceNow

Piyush Dwivedi
Tera Contributor

Not able to copy query fully in reference qual field of reference qualifier override.

Is there a limit of characters to copy ?

1 ACCEPTED SOLUTION

Anil Nemmikanti
Giga Guru

Yes every field will have a field length, so that can be the reason. Please increase the length of reference qualifier override field

View solution in original post

6 REPLIES 6

Mahathi
Mega Sage
Mega Sage

Hi @Piyush Dwivedi ,

If the reference qualifiers are longer, it is better to use a Script include and call the script include in the Ref.

It is usually around 250+ characters that is allowed but i suggest you go for a Script include though you can check the possibility of increasing the character length.

If my answer helped in anyway, Please mark it as helpful and accept as solution.

Thanks,
Mahathi

Anil Nemmikanti
Giga Guru

Yes every field will have a field length, so that can be the reason. Please increase the length of reference qualifier override field

Please guide, How can we increase length of reference qualifier override field

J Siva
Tera Sage

Hi @Piyush Dwivedi 

Yes. It's a single line text field. The maximum length is 254.

As a workaround store your query in the sys_properties, then use it in the reference qualifier.

Ex: javascript&colon;gs.getProperty("<property _name>")

 

Regards,

Siva