The record changes library allows a fully comprehensive audit trail to
be maintained by recording every change to every field on a
‘form submit’ action. The format used is
<variable> changed from <old
value> to <new value>.
(This library is currently being extended to record changes to ‘child’ related
tables).
-
Publish the
Record
Changes and Process Mapping
Common libraries.
-
Publish the
Record
Changes Procedure and
associate both libraries with
it.
|
|
-
Run the Record
Changes process through the
web client and enter
some values in each of the
form fields as illustrated.
|
|
-
Submit the
form.
-
Open the
folder again, make some
changes and view the
Notes form from the Common
Library.
|
The full history is displayed. The function is called
when user saves form: -
%Action.Notes:=%ScriptEval(JScript,,%Procedure.Name,%MapName,"RecordChanges (1)")
|