Caching in Zynk Workflow
Caching in Zynk Workflow is used to store frequently accessed data, such as lookup values or API responses, locally for faster retrieval.
This reduces the need for repetitive API calls or complex computations, improving performance and efficiency, especially in enterprise-level integrations.
By leveraging caching, workflows run faster, and resource usage is optimized, making it ideal for handling large-scale or complex data operations.
Managing Caches
The Cache Manager in Zynk Workflow provides a centralized interface for viewing and managing data stored in the caching database.
This functionality allows users to inspect cached data, edit existing records, and create or delete caches, streamlining data access for integrations.
Accessing the Cache Manager
To open the Cache Manager:
- Launch Zynk Workflow.
- Navigate to Tools > Caching from the menu bar.
- Alternatively, click the Caching button on the main toolbar.
Using the Cache Manager
The Cache Manager displays a list of all available caches in the system, as shown in the first screenshot. Each cache entry includes:
- Name: The name of the cache.
- Type: The type of cache (e.g., KeyValuePair).
The toolbar at the top of the Cache Manager provides the following options:
- New: Create a new cache.
- Edit: Modify the selected cache.
- Delete: Remove the selected cache and its records.
- Search: Find specific cache records.
Viewing Cache Contents
To view records within a cache:
- Select a cache from the list.
- Click Edit or double-click the cache name.
The Cache Viewer window, as shown in the screenshot, allows you to inspect the individual records within the selected cache. The viewer displays:
- Connection: The connection ID associated with the record (or an empty GUID if no connection is specified).
- Created: The date and time the record was created.
- Updated: The date and time the record was last updated.
- Key: The unique identifier for the record.
- Value: The data stored for the record.
The Cache Viewer also includes options for:
- Filtering records by Connection.
- Searching for specific records using the Search bar.
- Navigating through pages of results.
See Also
- Importing Complex Records to Salesforce (V2) This task implements caching functionality to perform quicker lookups in Salesforce.
- Import Cache Records This task allows you to import records into the cache database based on your XML input data and a series of task settings.
- Caching Functions in XSLT The caching functionality has been added to our XSLT functions library. You can access data in the cache database from your mapping files.