IsActivatable (Agent - Java)

Read-only. Indicates whether user activation is in effect when enabling or disabling a scheduled agent.

Note: This property is new with Release 6.5.

Defined in

Agent

Data type

boolean

Syntax

public boolean isActivatable()
    throws NotesException

Legal values

  • true to indicate that user activation is in effect
  • false to indicate that user activation is not in effect

Usage

This property, intended for use with scheduled agents, always returns true for hidden agents and agents run from a menu.

"Allow editor level user activation" on the Security tab regulates this property:

  • If checked, user activation is in effect. Editor access is required to enable or disable an agent, and the agent signature does not change.
  • If not checked, Designer access is required to enable or disable the agent, and the signature changes to that of the user enabling or disabling the agent.
Note: User activation is new with Release 6. R5.0.7 and earlier releases do not recognize changes made with "Allow editor level user activation" checked.

You can enable and disable agents with IsEnabled.

Example