Discuss a project

QQDEV · ASTANA · KAZAKHSTAN

“Done” in two systems: align order statuses

Build a mapping that accounts for the meaning, source and exceptions of each status.

Published

2 min13

Illustrative example. In the warehouse system, “Done” means the box has been packed. In the customer relationship management system, or CRM, the same label means the customer has collected it. Matching by name could send a collection confirmation while the box is still in the warehouse.

Define what each status means in practice

For each state, record the event that confirms it and who updates it. The warehouse confirms “packed,” while collection staff confirm “collected.” Choose the system in which each fact originates. If both systems need to show it, one records the change and the other receives a copy.

Map each source state to a destination

Build a table with the source system, state, code, destination state and exception handling. Two intermediate states might both appear as “In progress” in the other system. The reverse mapping is ambiguous, so prevent it from changing the source state automatically. Handle cancellation and moves back to an earlier stage separately.

Bitrix24 documentation describes a stage's code, name and pipeline separately. When configuring the integration, check the codes and the relevant pipeline on your portal. Ask the developer which current method fits the record type and which permissions it needs. Bitrix24 stage reference.

Test a normal transition and an error

Use a practice order. Check that packing appears without a collection notification and that collection is recorded only after confirmation. Add an unknown status. It should go for review with the order number and original value. Do not move such an order to a final stage by default.

Your existing system can remain the source of warehouse statuses. If you are considering Bitrix24 for customer work, bring QQDev two real status sequences with personal data removed. They help assess the integration and check which actions it will trigger. Discuss Bitrix24 implementation.

← All blog posts