---
schema_version: "1"
id: 743c6790f9ab21c0aa956bc4639e79ba26415225ecdea60ea936bf4e8869b3d9
title: InteropTopicTriggerCriteria
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_interoptopictriggercriteria.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_interoptopictriggercriteria.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 98646741d8700ab25faa3279e904054618d7ab27822cd600ad9cb8783482b156
description: Represents the criteria that trigger a notification for an interoperability topic. This object is available in API version 64.0 and later.
---
# InteropTopicTriggerCriteria

Represents the criteria that trigger a notification for an interoperability topic. This object is available in API version 64.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AreBothRsrcStsRequired

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates if both the previous and current resource statuses are required to trigger a notification.
- **Default value**: false

### CreateOperationResultType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the result type when the operation type is Create.
- **Possible values**:
    - Test Fails
    - Test Passes

### CriteriaExpression

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The trigger critera expressed in a machine-readable format.

### CurrentResourceStatus

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The status of the resource after the triggering update is made.

### DeleteOperationResultType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the result when the operation type is Delete.
- **Possible values**:
    - Test Fails
    - Test Passes

### Description

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of the interoperability topic trigger criteria.

### EventCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The code of the event that triggers the notification.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: EventCode
- **Refers To**: CodeSet, CodeSetBundle

### InteropTopicId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The interoperability topic for which the trigger criteria is defined.
    
    This field is a relationship field.
- **Relationship Name**: InteropTopic
- **Relationship Type**: Master-detail
- **Refers To**: InteropTopic (the master object)

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the interoperability topic trigger criteria record was last referenced.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the interoperability topic trigger criteria record was last viewed.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the interoperability topic trigger criteria.

### OperationType

- **Type**: multipicklist
- **Properties**: Create, Filter, Nillable, Update
- **Description**: Specifies the type of operation that triggers the subscription notification.

### PreviousResourceStatus

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The status of the resource before the triggering update is made.

### Resource

- **Type**: textarea
- **Properties**: Create, Update
- **Description**: The resource for which the notification is sent.

### Type

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the type of trigger that activates the interoperability topic.
- **Possible values**:
    - EventTrigger—Event Trigger
    - ResourceTrigger—Resource Trigger

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[InteropTopicTriggerCriteriaChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[InteropTopicTriggerCriteriaFeed](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[InteropTopicTriggerCriteriaHistory](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.