Tag: UserActivity

The UserActivity action, along with a set of nested SetParam child actions, lets you automate the User Activity process.

o

<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>
XML


SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
StartDateDate in compatible YYYY/MM/DD format

N/A

Not mandatory - see detailed description (below)
StartTimeTime in compatible HH:MM:SS (24-hr format)

N/A

Not mandatory - see detailed description (below)
EndDateDate in compatible YYYY/MM/DD format

N/A

Not mandatory - see detailed description (below)
EndTimeTime in compatible HH:MM:SS (24-hr format)

N/A

Not mandatory - see detailed description (below)
RegexUser defined Regex value

N/A

Not mandatory - see detailed description (below)
CaseSensitiveTrue/False

N/A

Not mandatory - see detailed description (below)
KeepContentTrue/False

N/A

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>
XML

In the script above, the User Activity Analyzer will process the selected grid lines with the settings specified in the SetParam lines