JAVA/CORBA CLASSES


run method
Example

Runs the agent.

Defined in

Agent

Syntax

public void run( )
   throws NotesException

public void run(String noteID)
   throws NotesException

Parameters

string NoteID


Note This parameter is new with Release 5.02.

Usage

This method runs any agent regardless of source language (simple action, formula, LotusScript, Java).

You cannot run an agent recursively (cannot call it from itself).

The user cannot interact directly with a called agent. User output goes to the Domino log.

You cannot debug a called agent.

For local operations, the agent runs on the computer running the current program. See runOnServer to do otherwise.

For remote (IIOP) operations, the agent runs on the server handling the remote calls.

Language cross-reference

Run method in LotusScript NotesAgent class

ToolsRunMacro @command in formula language

RunAgent @command in formula language

AgentRun @command in formula language

Example
See Also