Fields are not copied when copying a change

Clement_V
Giga Guru

Hello evreyone !

I want to add the std_change_producer_version field to the list of copied attributes when I copy a change so that the copied change complies with the Standard Change Policy

 

Customization Properties for the Change Management Module

Clement_V_0-1719238014470.png

 

But when this field is added, the short_description and description fields are found empty even though they were originally copied.
Copying these two fields is only done when the std_change_producer_version OR type field is not present in the list.

As if a conflict between these fields (std_change_producer_version and type) had an impact on the other two fields

Has anyone encountered this problem before?

 

2 REPLIES 2

Paul Curwen
Giga Sage

If your filed exists and is named 'std_change_producer_version'  then you have correctly updated the necessary system property 'com.snc.change_request.copy.attributes' as shown in your screenshot.

 

Have you looked to see if the UI  Action 'Copy Change is the current version and not customised? If you are using SOW the action name is 'Copy Change' if classic forms 'copy_change_request'. The Ui Action calls Script Include 'ChangeUtils' (extended from ChangeUtilsSNC) also check if that has been customized in any way. 

 

If that fails have a look at this: 

https://docs.servicenow.com/bundle/washingtondc-it-service-management/page/product/change-management...

 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

Thank you for your reply.

 

I checked again and everything seems OK. I think it's really a conflict between the 'type' and 'std_change_producer_version' fields.

I will try to explain better. Here are the results I see when I update the 'com.snc.change_request.copy.attributes' property :

 

1 - [...],type,short_description,description = Everything is copied

 

2 - [...],short_description,description,com.snc.change_request.copy.attributes = Everything is copied

 

3 - [...],type,short_description,description,com.snc.change_request.copy.attributes = 'short_description,description' are not copied into the new exchange