This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

createAgent(item)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


createAgent(item)

Creates a new agent:

createAgent(/agents/urgentTasks); 

This function needs no left-side expression argument, i.e. '$SomeAttribute='.

An option is to specify a path and new agent name separately. This aids setting up multiple agents in the same container:

createAgent(/path/to/container,"urgentTasks"); 

Thus, more pertinently, using a loop variable 'xPlace':

createAgent(xPlace,"urgentTasks");