Action References
InterserviceCallAction
InterserviceCallAction
Purpose Calls another Business API defined in a different Mindbricks microservice. This enables inter-service orchestration (e.g., create order → update inventory service).
When to use it
afterMainCreateOperation/afterMainUpdateOperation- For background coordination after
afterApiEvent
Key fields
| Field | Type | Description |
|---|---|---|
targetService | String | Logical name of the destination microservice. |
targetApi | String | Business API name to invoke in that service. |
apiParameters | [DataMapItem] | List of key-value pairs (MScript expressions) used as input parameters. |
responseProperty | String | Optional — extract one property from API response instead of full object. |
isArray | Boolean | Marks response type if expecting a list. |
contextPropertyName | String | Where to write the call result in context. |
Example
{
"id": "a140-sync-inventory",
"name": "notifyInventoryService",
"targetService": "inventory",
"targetApi": "updateStockLevels",
"apiParameters": [
{ "name": "productId", "value": "this.productId" },
{ "name": "quantity", "value": "this.quantity" }
],
"contextPropertyName": "inventoryResponse"
}
Was this page helpful?
Built with Documentation.AI
Last updated Jan 3, 2026