Assigning a Stage to Each Change Task When Creating a Change Notice with Multiple Change Tasks
To create a change notice with multiple change tasks, you must have Create permission and you must first reserve the change notice for Edit.
You can assign a stage to each change task when creating a change notice with multiple change tasks only when you set the > preference to Yes in the Preference Management utility in Windchill.
|
|
You can assign a sequence to each change task when creating a change notice with multiple change tasks only when you set the > preference to Yes in the Preference Management utility in Windchill.
|
Example: Assigning a Stage When Creating a Change Notice with Multiple Change Tasks
The following example shows you how to assign a stage to each change task when creating a change notice with multiple change tasks.
Use the following POST request with the request body that contains the information for creating two change tasks with, for example, the IMPLEMENTATION and POST_RELEASE stages, respectively.
URI
POST /Windchill/servlet/odata/ChangeMgmt/ChangeNotices
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"ActualFinishDate": "2026-04-30T17:12:59.847Z",
"Description": "This is Description",
"ChangeNoticeComplexity": {
"Value": "SIMPLE"
},
"ImplementationPlan": [
{
"Stage": "POST_RELEASE",
"Sequence": "2",
"
[email protected]": "Containers('OR:wt.pdmlink.PDMLinkProduct:289406')",
"Description": "This is Description",
"DescriptionSummary": "This is DescriptionSummary",
"NeedDate": "2030-01-17T00:00:00+05:30",
"Name": "Task02",
"@odata.type": "#PTC.ChangeMgmt.ChangeTask",
"
[email protected]": [
"Users('OR:wt.org.WTUser:11')"
],
"
[email protected]": [
"Users('OR:wt.org.WTUser:11')"
]
},
{
"Stage": "IMPLEMENTATION",
"Sequence": "1",
"
[email protected]": "Containers('OR:wt.pdmlink.PDMLinkProduct:289406')",
"Description": "This is Description",
"DescriptionSummary": "This is DescriptionSummary",
"NeedDate": "2030-01-17T00:00:00+05:30",
"Name": "Task01",
"@odata.type": "#PTC.ChangeMgmt.ChangeTask",
"
[email protected]": [
"Users('OR:wt.org.WTUser:11')"
],
"
[email protected]": [
"Users('OR:wt.org.WTUser:11')"
]
}
],
"DescriptionSummary": "This is DescriptionSummary",
"NeedDate": "2030-01-17T00:00:00+05:30",
"
[email protected]": "Containers('OR:wt.pdmlink.PDMLinkProduct:289406')",
"Name": "CN-testing-2"
}