• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Help with audit agent

I am trying to use the script proposed here:

http://www-10.lotus.com/ldd/46dom.nsf/0/bda0037add936b5485256e2f004536d0?OpenDocument

I am having a problem with the MonitorFields - "fieldNamesToBeAuditTrailed"

In this field I am placing the names of the fields I would like to audit trail e.g. "Customer;Code;Supplier"
I have tried various ways of putting multiple values as the value of this field, but I can't get the agent to work properly.
It will work perfectly if only 1 value is specified in the field.

Anyone got an idea why I cannot get this to work with multi values?

Am I misunderstanding the author when they say formula: "fieldNamesToBeAuditTrailed"?
I assume it wants a list of field names as strings.

Any help anyone can provide is much appreciated.

Thanks.
0
shuboarder
Asked:
shuboarder
  • 2
  • 2
1 Solution
 
SysExpertCommented:
Not stings, just text with a seperator ( comma or whatever the separator char is )
field1, field2

not "field1", "filed2"
0
 
shuboarderAuthor Commented:
Hi SysExpert,

thanks for your reply.

I have already tried using "Customer,Code,Supplier" and this does not work. I can see the values are correct but I always get "!! Error Encountered Updating Doc History"

Any other ideas?
0
 
shuboarderAuthor Commented:
Ah...

the comment helped! - The original document failed to mention that FieldContents needed to be multivalue.

Thanks for your help - an easy 2000pts for you!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now