Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Jul 6, 2023

Ability to retrieve the schedule agent information using LotusScript

Currently, there is no property or method to retrieve the following information using the Notes Agent class.

1. Alias Name

2. Trigger: 'Action menu selection' or 'Agent list selection.

Note: The Notes Agent class has a Trigger' property, but for the above, both options will get the same output as TRIGGER_MANUAL (4).

3. Trigger: 'More than once a day' or 'Daily' or 'Weekly' or 'Monthly' or 'Never'

Note: The Notes Agent class has a Trigger' property, but for the above options, you will get the same output as TRIGGER_SCHEDULED (1).

4. Agent Schedule Information:

a) Run agent information (schedule information).

b) Where the Agent runs

c) Schedule agent intervals

d) Time zone of execution

e) Agent execution start date and agent execution location.

5. Security Tab Information:

i. Runtime security levels

The requirement is to retrieve the schedule agent information using LotusScript.

  • Attach files
  • Guest
    Jan 24, 2024

    Setting parameters (points 3 and 4) inside an agent is an atavism. Changing any parameter necessarily leads to resaving and re-signing the agent, which is inconvenient. Now this needs to be done by a developer, but it would be better if an administrator could do it.

    I propose a radically different solution. Move these parameters from the agent to the Programs-documents .

  • Guest
    Jul 22, 2023

    for which use case is this really needed where?
    in that application or would this be a more an admin interface to see this information?

    It's important to provide the context and business cases to help HCL to find out what makes sense to implement.

    Just asking for a technical implementation of something does not help PM to find out what they should priority and how to implement it.

    There are ways to get most of this information. But not directly in a Lotus Script class.

  • Guest
    Jul 10, 2023

    #1 is quite easy: returns your fuill agent name as "Agent name|agentAlias" with "|" (= pipe symbol) as delimiter

    Split the result as in

    agentNameArray = Split(ag.Name, "|")

    agentAlias = agentNameArray(Ubound(agentNameArray))

    The others are more complicated: the agent's design note maintains the usual bunch of "$" fields holding all the desired info but partially in encoded form. It would indeed be very helpful to be able to directly access that info right from the NotesAgent class!