Run User Activity Analyzer
Tag: UserActivity
The UserActivity action, along with a set of nested SetParam child actions, lets you automate the User Activity process.
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).
SetParam Options
Field Name | Compatible Field Values | Value Description |
---|---|---|
StartDate | Date in compatible YYYY/MM/DD format | Not Required (See detailed description) |
StartTime | Time in compatible HH:MM:SS (24-hr format) | Not Required (See detailed description) |
EndDate | Date in compatible YYYY/MM/DD format | Not Required (See detailed description) |
EndTime | Time in compatible HH:MM:SS (24-hr format) | Not Required (See detailed description) |
Regex | User defined Regex value | Not Required (See detailed description) |
CaseSensitive | True / False | Not Required (See detailed description) |
KeepContent | True / False | Not Required (See detailed description) |
Example Scripts
<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>
<ytriaAutomation>
<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