IsActivatable (NotesAgent - JavaScript)

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

Defined in

NotesAgent

Syntax

isActivatable() : boolean
Legal value Description
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 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: Note User activation is new with Release 6. R5.0.7 and earlier releases do not recognize changes made with "Allow user activation" checked.

You can enable and disable agents with IsEnabled.