Copy Metadata (Behaviour)
Copies a metadata from an agent to the current one or vice versa. If an agentId greater than or equal to 0 is provided the check is run on the agent with the given id (global or local).
Success:Â When the metadata is copied
Failure:Â When the metadata is not copied
Running:Â Never
Attributes
Attributes | Type | Description |
---|---|---|
lockAgent | bool | If on, ensures no data on the agent is written simultaneously by nodes that have this option active. |
sourceMetadataName | string | Source metadata name |
destinationMetadataName | string | Destination metadata name |
isDestination | bool | Set to true if the agent that is running this behaviour is the destination |
agentId | int | The agent Id. If value great or equal than 0 is provided the agent with the given id is used instead of the current agent. |
isGlobalId | bool | If on, the agentId is used as a global agent id. If off, the agentId is used as groupId. |
Copyright © 2017, Toolchefs LTD.