FORMULA LANGUAGE


RunAgent @Command
Executes a specified agent.

Note This command is new with Release 6.

Syntax

@Command( [RunAgent] ; agent )

Parameters

agent


If you omit the agent name, Notes displays a list of Agents in the database, where the user can select which agent to run.

Usage

This command executes immediately. Use the ToolsRunMacro @command to execute after all @functions. See the Order of evaluation for formula statements topic for more details.

When specifying a hidden agent, include the parentheses as shown below.

@Command([RunAgent];"(hiddenagentname)")

You can use this command in Web applications.

Language cross-reference

Run method of LotusScript NotesAgent class

run method of Java Agent class

See Also