fc.rubix.sdk.primaryEntityCache
Changed on:
12 Feb 2024
| Setting Area | Workflow | 
|---|---|
| Supported context levels: | Retailer | 
Overview
Improves Workflow performance by preventing context.getEvent() from making excessive GraphQL calls.
Values
| Data Type | Values | 
|---|---|
| String | 
 | 
Detailed technical description
Value: `flush-on-mutation`
Improves Workflow performance by preventing `context.getEvent()` from making excessive GraphQL calls.
Default:`context.getEvent()` may make unnecessary GraphQL calls.
Requires all state transitions to be managed by the SetState rule available in the Core Reference Module.
Configuration example
1"settings": {
2        "fc.rubix.sdk.primaryEntityCache": "flush-on-mutation"
3    }