Set change "StatusTypeValue" and auto approve with REST API
SummaryNeed to do the following actions: 1.set the change workflow "StatusTypeValue" and "StatusCodeValue" with REST API 2. approve when the change reach approval status with REST API
I am using custom c# program i created using cloud REST API end points to do the following actions:
1. Create new change order.
2. Add affected items to the change.
3. Auto promote the change (in other words, set to change StatusTypeValue and StatusCodeValue to the next status in workflow)
4. When reaching a status need to sign by approver, approve and continue to the next status till the change reaches the end status in workflow.