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

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo