Fluent Commerce Logo
Docs
Sign In

fc.rubix.sdk.primaryEntityCache

Setting

Changed on:

12 Feb 2024

Setting AreaWorkflow
Supported context levels:Retailer

Overview

Improves Workflow performance by preventing context.getEvent() from making excessive GraphQL calls.

Values

Data TypeValues
String

`flush-on-mutation`

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    }

Language: graphqlschema