Programatically canceling a proposed task

PPM running in 9.3.3 – I CAN through the webclient cancel a proposed task.
I can not do it through the changestatus api call; rather through webclient action menu ON TASK, called “Change to Cancelled”.
Similarly, for cancelled tasks, an action menu exists to “Change to Not Started” is provided.

I’d like to mimic that behavior through the SDK.
Is there a means to make those calls through the SDK?
When calling the changestatus() on proposed tasks, it throws the expected error message.

Thanks in advance for your thoughts!

No Files Were Attached
Add Comment
2 Answer(s)

Use below method and see.

void changeStatusToCancelOrNotStarted (IStatus newStatus, String comment, Object[] notifyList, boolean urgent, boolean isContinue) throws APIException

Anand Agile User Answered on July 17, 2017.
Add Comment

Yes and thank you Anand.

This is NOT available in 9.3.3 but it is available in 9.3.4.

that is what I plan to do — thanks!!

bpruzan Agile Angel Answered on July 17, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.