Adding WorkflowSpec Arguments and WorkflowStatus Nodes to archivedWorkflowMetadata
#14236
Replies: 3 comments 1 reply
-
Hi @agilgur5! Hope things are going well! Just liked to tag you in here, since you have great familiarity with this. Thanks for any time or suggestions in advance, really do appreciate it! |
Beta Was this translation helpful? Give feedback.
-
I believe everything is stored. The storing function and retrieval function use all fields from workflow object |
Beta Was this translation helpful? Give feedback.
-
Hi @tczhao What I ended up doing as a work around is the following:
This definitely takes a performance hit, as I am calling the As mentioned in the reply, there is a better potential solution (which I'd be happy to open an issue/contribute too). Thanks again for your time in helping in this matter! Really do appreciate it |
Beta Was this translation helpful? Give feedback.
-
Currently, the
Workflow
struct storesWorkflowSpec
andWorkflowStatus
. When retrieving live workflow runs via theWorkflowService
API, all fields within theWorkflowSpec
andWorkflowStatus
are returned.However, when retrieving workflow runs that have been archived, only a subset of fields are returned for
WorkflowSpec
andWorkflowStatus
(see code snippet here).Is this intentional? (I had been searching through previous issues, and from what I understand was that this was a performance improvement, but I'm not positive). Is there a manner to support storing
WorkflowSpec.Arguments
as well asWorkflowStatus.Nodes
. It would be useful to have these fields returned back for archived workflow runs (essentially similarly how its done for live workflow runs).Beta Was this translation helpful? Give feedback.
All reactions