Set Agent Metadata

Sets an agent metadata.

Success:  When the metadata could be set

Failure:  When the metadata could not be set

Running: Never


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
createMetadatabool

Create a new metadata if it doesn't exist

metadataNamestringThe metadata name
jointNamestringThe joint name. If a joint name is specified the metadata is saved on a joint instead of the agent itself.
valueanyThe value that will be saved
agentIdintThe agent Id. If a value greater than or equal to 0 is provided the agent with the given id (global or local) is used instead of the current agent.
isGlobalIdboolIf on, the agentId is used as a global agent id. If off, the agentId is used as groupId.

Copyright © 2017, Toolchefs LTD.