You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving a use-case template from the frontend, we need a location to store information about the template. This ensures global access, allowing subsequent executions to query this information.
What solution would you like?
We are going to create an OpenSearch Index called the GlobalContext index to store this use-case template. The index mapping largely aligns with the use-case template fields, except for an additional field named resource_created. This field keeps a record of all resources that have been created during the process. This makes it easier for us to clean up resources later when the workflow is deleted.
The workflow field value of the use-case template will be stored as a string in the GlobalContext index to avoid limitations imposed by the index mapping type.
The responses field in the index mapping will store only the API responses mentioned in the global_context field of the use-case template. This ensures that subsequent executions can more easily look up the values they need.
Is your feature request related to a problem?
When receiving a use-case template from the frontend, we need a location to store information about the template. This ensures global access, allowing subsequent executions to query this information.
What solution would you like?
We are going to create an OpenSearch Index called the
GlobalContext
index to store this use-case template. The index mapping largely aligns with the use-case template fields, except for an additional field namedresource_created
. This field keeps a record of all resources that have been created during the process. This makes it easier for us to clean up resources later when the workflow is deleted.The
workflow
field value of the use-case template will be stored as a string in theGlobalContext
index to avoid limitations imposed by the index mapping type.The
responses
field in the index mapping will store only the API responses mentioned in theglobal_context
field of the use-case template. This ensures that subsequent executions can more easily look up the values they need.Do you have any additional context?
Later, we will have a separate index to store information related to workflow states for the Stats API to use.
The text was updated successfully, but these errors were encountered: