Link to home
Start Free TrialLog in
Avatar of shuboarder
shuboarderFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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.
Avatar of SysExpert
SysExpert
Flag of Israel image

Not stings, just text with a seperator ( comma or whatever the separator char is )
field1, field2

not "field1", "filed2"
ASKER CERTIFIED SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shuboarder

ASKER

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?
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!