Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/integrations/inbound/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ When using prune-scope modes, you must provide a `scope` configuration that defi

| Mode | Description |
|------|-------------|
| `relations` | Find scope by looking at what a specific entity relates TO |
| `reverse-relations` | Find scope by looking at what's related TO a specific entity |
| `relations` | Find scope by looking at all entities related to a specific entity (both direct and reverse relations) |
| `query` | Find scope entities directly via query parameters |

#### Example: Sync Billing Events for a Billing Account
Expand All @@ -322,7 +321,7 @@ When receiving a billing account update with billing events, sync all billing ev
"jsonataExpression": "$map(billingevents[], function($v) { $merge([$v, { \"billingaccountnumber\": billingaccountnumber }]) })",
"mode": "upsert-prune-scope-purge",
"scope": {
"scope_mode": "reverse-relations",
"scope_mode": "relations",
"schema": "billing_account",
"unique_ids": [
{
Expand Down
Loading