We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Ms Project task status

Hello!

Is there any way to retrieve Microsoft Project’s task status via Aspose.Tasks?
It can be done in VBA surely: https://docs.microsoft.com/ru-ru/office/vba/api/project.task.status but can it be done in Aspose.Tasks. Class task doesn’t have such property as well as class Tsk doesn’t have such static field, so it can’t be done like task.Get(Tsk.Status). Is it actually possible? If it is then how?

Best regards!
Thanks for answer in advance!

@EndureEverything,
Status property is not supported currently.

You can try to code the similar logic using Status field documentation

A ticket with ID TASKSNET-10626 has been created to resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

1 Like

Thank you! Can you clarify another issue, please? The Aspose.Words API allows to retrieve information about relations via Predecessors an Successors properties which return TaskCollections. So we may only define that task1 is a predecessor of task2 or vice versa. But can we retrieve (and how if we can) such information as the exact relation type (start_start, start_finish, finish_start, finish_finish) or time lag, its duration and time units in which the duration is measured?

@EndureEverything,
you can use Project.TaskLinks collection to find info about the specific link.

1 Like