p6_get_activity
Retrieve full details for a Primavera P6 activity by project and task code, covering dates, WBS, relationships, assignments, codes, UDFs, and schedule state.
Instructions
Full detail of one activity: the list fields (see p6_query_activities), secondary constraint, remaining, expected, suspend and resume dates, calendar (hours_per_day converts hours to days), WBS (wbs_code as in p6_list_wbs, wbs_path names), predecessors and successors (first 50 of each, with predecessor_count / successor_count; page further with p6_get_relationships), assignments (resource and role, quantities and costs as stored), activity codes, UDFs and notebooks (first 50 of each), lag_rule and schedule_state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project ID as shown in P6 (p6_list_projects). | |
| task_code | Yes | Activity ID (task_code). |