Datamapper provides storage within Switchboard for remembering cross-system references to different entities.
Check
and Put
. The Check
mode is used to check if a reference exists in the
Datamapper storage. The Put
mode is used to store a new reference in the Datamapper.If in Check
mode - the Datamapper has two outputs - one for if the reference exists, and one for when it doesn’t:Multiple outputs if reference exists
Put
mode - the Datamapper has one output - this is to allow the flow to carry on after creating the reference.Value Type
is the expected type of value to be saved.A single saved reference in the Datamapper consists of a Key
and a Value
.Key
is typically the source system’s ID for the entity to be saved.App Version
should be defined as something unique to your organisation - for example: ecommerce-app.v1
. This allows
this reference to also be used across other boards in your integration - if this app is used elsewhere.Kind
should be the type of entity being saved - for example: product
. This allows you to save references for
multiple types of entities in the same Datamapper app version.Value From
- this is the actual value from your board data that you wish to save a reference for. This could be a
field from a previous action, or a value from a previous step in your workflow. Typically this will be an ID.Key configuration form
Value
is only available to set in Put
mode - seeing as we are creating a new reference in the Datamapper.The configuration for Value
is the same as Key
- this is the partner stored against the key and will typically be
the ID of your entity in your target system.For example, App Version
might be erp-app.v1
, Kind
might be Item
, and Value From
might be the ID of the Item
in your ERP system.Value configuration form