Skip to main content

Configuration Tools

Overview

Configurations store typed, cacheable key/value settings that logic reads at runtime. Flowon Logic Assist supports searching, listing, reading, creating, and updating Configuration records. Requires Logic Composer.

CacheEntryStrategy values:

ValueMeaning
VolatileThe data can change at any time
EphemeralThe data is stored for a short duration, as specified by its time-to-live (TTL)
ConstantThe value never changes and can be cached indefinitely

The type parameter is a .NET TypeCode describing the data type of the configuration value (e.g. String, Int32, Boolean, Decimal, DateTime), and timeToLive is expressed in minutes.


search_configuration

Searches Flowon configurations by name.

ParameterTypeRequiredDescription
configurationNamestringThe name of the configuration to search for.

Returns: Matching Configurations including name, title, description, and project.


list_configurations

Lists all Flowon configurations.

ParameterTypeRequiredDescription
projectIdGUIDThe ID of the project to filter configurations by. Optional.
pageNumberintThe page number for pagination. If not provided, defaults to the first page. Optional.
pagingCookiestringThe paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. Optional.

Returns: A paginated list of Configurations including name, title, description, and project.

See Pagination for details on iterating through large result sets.


get_configuration_details

Gets the details for a Flowon configuration by configuration id.

ParameterTypeRequiredDescription
configurationIdGUIDThe ID of the configuration.

Returns: Full Configuration details including name, value, type, cache strategy, time-to-live, title, description, and project.


get_configuration_preview_url

Get a preview URL for a Flowon configuration.

ParameterTypeRequiredDescription
configurationNamestringThe name of the configuration.
projectIdGUIDThe ID of the project for the configuration.
valuestringThe value for the configuration.
cacheEntryStrategyCacheEntryStrategyThe cache entry strategy for the configuration.
timeToLiveintThe time to live for the configuration cache entry in minutes.
titlestringThe title for the configuration. Optional.
descriptionstringThe description for the configuration. Optional.

Returns: A preview URL for the configuration record.


create_configuration

Creates a new Flowon configuration and returns the configuration id.

ParameterTypeRequiredDescription
configurationNamestringThe name of the configuration to create.
projectIdGUIDThe ID of the project to create the configuration in.
typeTypeCodeThe type of the configuration value.
valuestringThe value for the configuration.
cacheEntryStrategyCacheEntryStrategyThe cache entry strategy for the configuration.
timeToLiveintThe time to live for the configuration cache entry in minutes.
titlestringThe title for the configuration. Optional.
descriptionstringThe description for the configuration. Optional.

Returns: The GUID of the newly created Configuration and its URL.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.


update_configuration_value

Updates a Flowon configuration value.

ParameterTypeRequiredDescription
configurationIdGUIDThe ID of the configuration to update.
valuestringThe new value for the configuration.

Returns: Confirmation that the configuration value was updated.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.

Best practice: Always call get_configuration_details first to read the current value and settings before updating.