Add Log Fields
This activity allows you to extend existing records in
your application log files by adding your own custom fields. The
custom log fields and the associated value, are added as a statement
in the log files. You can update user defined log events
by adding arguments against custom log fields.
NOTE:
|
All user defined
log fields and their values remain in process scope until
they are removed using the 'Remove Log Fields' activity. |
Using Add Log Fields Activity
1. In
the Canvas
Tools pane, click Assign
and Write to expand the tool and view the
associated activities.
2. Drag
the Add Log Fields activity and drop on to the
Flowchart
designer on the Canvas.

3. In
the Parameter bar,
define an argument that you want to add as the field value to
the log file. When you add a field, the argument is selected as
the field value.
4. Click
the (Settings) icon to configure
the log fields and define the field values. The Log Fields dialog box appears.

5. Click
Add to add a new
field.
a. In
the Field Label,
enter the desired label of the field.
b. In
the Field Value,
select an argument that you created in the Parameter bar.
6. Click
Confirm to save
the details entered.
The Add
Log Fields activity is created. The activity keeps
adding an argument to every subsequent log line in the application
log file after each process execution .
Add Log Fields Properties
The properties of Add Log
Fields activity are listed in the following
table and can be edited in the Property
grid on the right pane.
Property Name |
Usage |
Control Execution |
Ignore Error |
When this option is set
to Yes, the application
ignores any error while executing the activity.
If set to NA,
it bypasses the exception (if any) to let the automation
flow continue; however, it marks the automation status
as failure, in case of an exception.
By default, this option is
set to No. |
Delay |
Wait After |
Specify the time delay
that must occur after the activity is executed. The value
must be in milliseconds. |
Wait Before |
Specify the time delay
that must occur before the activity is executed. The value
must be in milliseconds. |
Misc |
Breakpoint |
Select this option to
mark this activity as the pause point while debugging
the process. At this point, the process freezes during
execution allowing you to examine if the process is functioning
as expected.
In large or complex processes,
breakpoints help in identifying the error, if any. |
Commented |
Select this option to
mark this activity as inactive in the entire process.
When an activity is commented, it is ignored during the
process execution. |
DisplayName |
The display name of the
activity in the flowchart designer area. By default, the
name is set as Add Log
Fields. You can change the name as required. |
|