Retrieves the latest task for a specific plan.
The latest task associated with the specified plan, or null if not found.
null
The unique identifier of the plan.