AgentData
Description
Represents the values submitted to update Agent Data for an agent execution.
Constructor
| Constructor | Description |
|---|---|
AgentData | Initializes a new AgentData object. |
Properties
| Property | Description |
|---|---|
ProcessInstanceId | The ID of the execution whose values are to be updated. |
Data | A dictionary of field keys and values to submit. Values must match the types defined in the agent. |
Remarks
Pass this model to UpdateAgentDataAsync. A workflow instance ID is not required because Agent Data is shared across the execution's workflows.
To retrieve values, use GetAgentDataAsync, which returns a string, or GetInstanceDataAsync, which returns ProcessInstanceData including its AgentData property.