> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.salesforce.crm.RecordFieldChange

- Component: `appmixer.salesforce.crm.RecordFieldChange`
- Kind: Trigger
- Version: 1.1.2
- Visibility: Public
- Connector: [appmixer.salesforce 1.7.7](https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7/component/appmixer.salesforce.crm.RecordFieldChange>

Triggers across the platform when a chosen field changes on any record of the selected object (standard or custom).

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Object Name (`objectName`) | text | The object to monitor. For example, Account, Contact, Lead or a custom object. |
| Field Name (`fieldName`) | text | The API name of the field to monitor for changes. For example, Status or StageName. |

## Output ports

### Port `record`

Variables are loaded dynamically from `/component/appmixer/salesforce/crm/GetObjectFields?outPort=out`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.salesforce.crm.RecordFieldChange",
  "author": "Appmixer <info@appmixer.ai>",
  "description": "Triggers across the platform when a chosen field changes on any record of the selected object (standard or custom).",
  "private": false,
  "auth": {
    "service": "appmixer:salesforce"
  },
  "quota": {
    "manager": "appmixer:salesforce",
    "resources": "requests"
  },
  "version": "1.1.2",
  "dependencies": {
    "service": "1.1.2"
  },
  "tick": true,
  "trigger": true,
  "properties": {
    "schema": {
      "type": "object",
      "properties": {
        "objectName": {
          "type": "string"
        },
        "fieldName": {
          "type": "string"
        }
      },
      "required": [
        "objectName",
        "fieldName"
      ]
    },
    "inspector": {
      "inputs": {
        "objectName": {
          "type": "text",
          "label": "Object Name",
          "index": 1,
          "tooltip": "The object to monitor. For example, Account, Contact, Lead or a custom object.",
          "source": {
            "url": "/component/appmixer/salesforce/crm/ListObjects?outPort=out",
            "data": {
              "transform": "./transformers#toSelectArray"
            }
          }
        },
        "fieldName": {
          "type": "text",
          "label": "Field Name",
          "index": 2,
          "tooltip": "The API name of the field to monitor for changes. For example, Status or StageName."
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "record",
      "source": {
        "url": "/component/appmixer/salesforce/crm/GetObjectFields?outPort=out",
        "data": {
          "messages": {
            "in/objectName": "properties/objectName"
          },
          "transform": "./transformers#fieldsToSelectOptions",
          "properties": {
            "variableFetch": true
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
