HCL
Skip to main content  
 
   


SPRTechnote


The number of times a formula agent can call itself using @Command([ToolsRunMacro]) is limited to 15; no warning occurs

Technote Number: 1161627


Problem:
Starting in Notes/Domino 6.5.5 and Notes/Domino 7.0 a warning message regarding
the limitation is now reported to the application developer, so that the
developer can alter the formula. The message "Too many recursive formula
evaluations" is now generated past 16 recursive calls.

Excerpt from the Lotus Notes and Lotus Domino Release 6.5.5 MR fix list
(available at http://www.ibm.com/developerworks/lotus):

Design
SPR# DPOL5W4KCK - In Notes R6 and R6.5, the number of times that an agent can
call itself using @Command([ToolsRunMacro]) has been limited to 16. In previous
versions of R6, we did not report the error when an agent called itself
recursively too many times -- the agent just failed silently. We now report the
error so the designer can modify the agent code, using @For or @DoWhile instead
of calling the agent recursively.


Workaround:
Additional Formula functions have been introduced in Notes 6.0 and above which
allow looping functionality to be used in a Formula: @For, @DoWhile, and
@While.

Rather than having the agent call itself, use a second agent to call it. The
second agent should make the call to the first agent within a @For, @DoWhile,
or @While function call.

Refer to the Upgrade Central site for details on upgrading Notes/Domino.
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact