copy change feature should not copy change tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 10:53 AM
Hi All,
I have a requirement to ignore the change tasks created out of workflow(Assessment, Build, Test, Implementation, and Post Implementation Test Results) but copy over the manually created tasks to the new change when 'Copy change' UI action is used on the change request.
I know 'copy change' is a OOB UI action which copies the change attributes along with the related lists configured via sys_property, and it uses ChangeUtil and ChangeUtilsSNC script include functions. But I am lost while tracing the exact function or logic that deal with copying the change tasks. I see 'copyChangeRelatedLists()' function in ChangeUtilsSNC Script Includes, but not really sure what invokes it.
Please help me.
Thanks in Advance,
SD.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 11:01 AM
Hi,
Please modify the system property named com.snc.change_request.copy.related_lists and remove change_task from the value. For details please refer this link: Change properties
I hope this helps.Pleasemarkcorrect/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 11:05 AM
Hi Amlan,
Thanks for the quick response.
But how can we copy the manual tasks created in a original change record??
Thanks,
SD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 09:23 PM
Hi,
The Copy Change button doesn't copy the default change tasks which are created from workflow. It will only copy the manually created change task. As Abhinay has said, this is mentioned in the Script include (ChangeUtilsSNC) already. It is been clearly mentioned here: Copy a change request.
But if you do not want to get change tasks copied at all irrespective of created from, you may simply remove 'change_task' from the value of this property com.snc.change_request.copy.related_lists, as I have mentioned above.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 06:31 AM
Thank you Amlanpal...I had the same question as SD...most helpful...Lynne