Help with audit agent

I am trying to use the script proposed here:

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.

LVL 21
Who is Participating?
Not stings, just text with a seperator ( comma or whatever the separator char is )
field1, field2

not "field1", "filed2"
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?
shuboarderAuthor Commented:

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

Thanks for your help - an easy 2000pts for you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.