Skip to main content
Version: Current

AgentData

Description​

Represents the values submitted to update Agent Data for an agent execution.

Constructor​

ConstructorDescription
AgentDataInitializes a new AgentData object.

Properties​

PropertyDescription
ProcessInstanceIdThe ID of the execution whose values are to be updated.
DataA 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.