Tag: UserActivity
The UserActivity
action, along with a set of nested SetParam child actions, lets you automate the User Activity process.
<UserActivity>
<SetParam Field="StartDate" value="2014/12/24"/>
<SetParam Field="EndDate" value="2015/12/09"/>
<SetParam Field="StartTime" value="00:06:09"/>
<SetParam Field="EndTime" value="06:06:06"/>
<SetParam Field="KeepContent" value="true"/>
<SetParam Field="regex" value="regexvalue"/>
</UserActivity>
SetParam Options
Field Name | Compatible Field Values | Value Description | Comment |
StartDate | Date in compatible YYYY/MM/DD format | | Not mandatory - see detailed description (below) |
StartTime | Time in compatible HH:MM:SS (24-hr format) | | Not mandatory - see detailed description (below) |
EndDate | Date in compatible YYYY/MM/DD format | | Not mandatory - see detailed description (below) |
EndTime | Time in compatible HH:MM:SS (24-hr format) | | Not mandatory - see detailed description (below) |
Regex | User defined Regex value | | Not mandatory - see detailed description (below) |
CaseSensitive | True/False | | Not mandatory - see detailed description (below) |
KeepContent | True/False | | Not mandatory - see detailed description (below) |
Detailed Description
The User Activity feature is found within the Tools menu of databaseEZ and it can be automated using the action UserActivity
.
The related settings, found within the User Activity dialog, can be specified using SetParam
options. These values are not mandatory; if they are not specified, the default values from the dialog will be used.
In order for the User Activity action to function, databases must be selected (as with the manual selection in the UI).
Example Script
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="databaseEZ" ApplicationVersion="16.5">
<Load Server="Acme01/ACME" partial="true">
<Load Database="dbtest\maildbtest.nsf" Select="True"/>
<Load Database="dbtest\copynames.nsf" Select="True"/>
</Load>
<Select lines="all"/>
<UserActivity>
<SetParam Field="StartDate" value="2014/12/24"/>
<SetParam Field="EndDate" value="2016/01/09"/>
<SetParam Field="StartTime" value="00:06:09"/>
<SetParam Field="EndTime" value="06:06:06"/>
<SetParam Field="KeepContent" value="true"/>
<SetParam Field="regex" value="John Difool/ACME"/>
</UserActivity>
</ytriaAutomation>
In the script above, the User Activity Analyzer will process the selected grid lines with the settings specified in the SetParam lines.