discover_organizational_roles
Identify clusters of resources that share activities in an event log, revealing organizational roles and their key contributors.
Instructions
Discover organizational roles — activity-sharing clusters of resources.
pm4py returns a List[Role] where each role has:
activities: list of activities that cluster togetheroriginator_importance: dict mapping resource → weight within the role
Returns a handle under "org_roles" plus counts and a preview of the
top 5 roles by importance sum.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| activity_key | No | concept:name | |
| resource_key | No | org:resource |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||