RecordActivity

Description

Records a custom activity on one or more assets in a Rational Asset Manager repository

Parameters

Attribute Description Required
activityId The ID of the custom activity. This ID must be a number between 1000 and 1100, inclusive. Custom activity IDs are user defined and are not maintained by Rational Asset Manager. No. Defaults to 1000.
description The description of the custom activity No
name The name of the custom activity No
numberData The user-defined number data for this custom activity No
server The ID of the server that connects to Rational Asset Manager Yes
failOnError If false, the build will continue execution when an error occurs. Otherwise, the build will fail. No. Default is true.
clearCache If true, cached assets will be cleared before this task is executed. No. Default is false.

Parameters specified as nested elements

asset

You can specify individual assets on which to record this custom activity.

assetList

You can specify an asset list on which to record this custom activity.

search

You can specify a search, and the assets that are returned will have this custom activity recorded on them.

Example

Record a custom activity on an asset

<tstamp>
   <format property="currentTime" pattern="yyyyMMdd" />
</tstamp>
<recordActivity server="ramServer" activityId="1001" name="My Custom Activity" numberData="${currentTime}">
   <asset guid="0000-1111-2222-3333" version="1.0" />
</recordActivity>