GovTribe

Match scopes attribute

How an activity record matched the subject supplied to Search Activity.

  • Type: string[]
  • Value set: Enum
  • Data types: Activity
  • Fields: match_scopes

Search Activity returns match scopes so an agent can explain why an event appeared for the requested subject.

Values

  • direct_target: The activity target is the subject record.
  • related_model: The subject record appears in the activity record's related model IDs.
  • pursuit_linked_target: The subject is a pursuit and the activity target is a record linked to that pursuit.

On this page