Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Updating Form Layout with additional fields on Change Model

Dipesh Kalantri
Tera Contributor

I would like to understand if we can add new fields in Change model specific change request.

For example , if it is retroactive change and I want to add field like "Related Incident" showing list of P1/P2 tickets but such change in form layout should reflect only for the "Retroactive" change model which is created.

 

Please suggest.

 

Regards,

Dipesh

2 REPLIES 2

Bhuvan
Giga Patron

@Dipesh Kalantri 

 

Yes it is possible.

 

Create a client script to check the field value and set the view based on it. Below is for reference,

 

https://www.servicenow.com/community/developer-forum/view-rule-based-on-field-value/m-p/1470577

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

SD_Akshay
Giga Guru

Hi @Dipesh Kalantri 

 

Yes it can be done, You can just add/create new field on form layout of any change type and use UI Policy to hide the same.

 

PFA image for your reference 

 

SD_Akshay_0-1756185555919.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Akshay Kamble (SD_Akshay)
ServiceNow Developer
LinkedIn: https://www.linkedin.com/in/akshay-kamble-1504/

****************************************************************************************************************

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Akshay Kamble (SD_Akshay)
ServiceNow Developer
LinkedIn: https://www.linkedin.com/in/akshay-kamble-1504/
****************************************************************************************************************