W023: List organization invitations
Returns outstanding invitations the active organization has sent. Triggered from Settings, Users, pending invitations.
Steps
- Fetch pending invites for this org. Call
Platform.listInvitationsByOrg(ctx.orgId, ['pending']).
Returns
Pending invitations the org has sent.
Business rules
- Status filter is
pendingonly. Accepted, declined, and revoked invitations are not surfaced here. Audit views that need historical statuses are a separate, future workflow.
Errors
None.