Back to blog
SAPP BlogBitrix24 integrations

CRM list fields in integrations: option ID, label and reference list changes

How to pass an enumeration value and maintain a stable mapping between an external reference list and CRM options.

Step 1

Describe the meaning of the reference list

The same label may conceal different business values, while different labels may refer to one value after a rename. First agree on the vocabulary with the process owner.

Store the external code, CRM option ID and a human-readable label in the mapping. Do not link systems solely by matching text without checking for ambiguity.

It is useful to document the data exchange scope and data owners in a working document: Acceptance evidence package for Bitrix24: scenarios, snapshots and the launch decision. If you need to examine a specific portal scenario, see the service Bitrix24 support and development.

Retrieve the list options from field metadata for the specific CRM type, rather than from on-screen labels or another portal’s reference list.

Step 2

Retrieve field options

In the official form example, an enumeration field is built from the metadata items. ID is used as the value, and VALUE as the list label.

The specific portal’s schema is the basis for the mapping. Do not transfer numeric option IDs between portals from memory or merely because field names match.

Step 3

Account for multivalue fields

A single-value field accepts one selected option; a multivalue field accepts a set. Converting a delimited string into an array requires a separate rule, or a comma in a label may cause an incorrect split.

Before writing, check that each ID exists in the current list. An unknown value must be investigated rather than accidentally replaced with the first option.

Step 4

Handle the list’s evolution

Renaming a label and deleting an option have different effects. In the first case, the technical link may remain; in the second, the old values need an agreed decision.

Adding a new CRM option does not mean that the integration is authorized to extend the external classification list automatically. Changes to the mapping require the data owner’s review.

  1. 01External code

    Record the original state.

  2. 02Option ID

    Perform the selected operation.

  3. 03e-Signature

    Confirm the saved result.

External code → Option ID → Label. Diagram of the integration verification scenario.
Step 5

Check the result and empty values

Create test cases for each value in use, an unknown code, an empty field and a multivalue set. After writing, read the ID and displayed label again.

Show both the code and a readable name in the reconciliation report. This helps distinguish a transfer error from an expected rename.

Verification table

ControlDataExpected result
ControlExternal codeDataStable source keyExpected resultOne mapping
ControlOption IDDataCRM valueExpected resultExists on the portal
Controle-SignatureDataHuman-readable nameExpected resultThe rename is tracked

Acceptance checklist

  • The mapping contains the ID and label
  • The portal is included in the key
  • Field multiplicity is verified
  • An unknown value is not substituted
  • Changes to the list are controlled

Frequently asked questions

Can the option label be sent?

Use the format of the selected method. Usually, the option identifier from metadata is required.

What should be done after a rename?

Reconcile the previous ID with the new meaning; a text change alone does not always require a new technical mapping.

How should an unknown code be handled?

Stop writing to the relevant field and assign an investigation of the mapping while preserving the original value.

Need help automating the process?

We will review the original workflow, roles, data and exceptions. We will prepare a diagram, verifiable requirements and a safe Bitrix24 implementation plan.

Select service