Fields are not copied when copying a change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 07:21 AM
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
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 08:01 AM
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:
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 01:34 AM
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