Records a custom activity on one or more assets in a Rational Asset Manager repository
| 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 |
| failOnError | If false, the build will continue execution when an error occurs. Otherwise, the build will fail. | No. Default is true. |
| 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 |
You can specify individual assets on which to record this custom activity.
You can specify an asset list on which to record this custom activity.
You can specify a search, and the assets that are returned will have this custom activity recorded on them.
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>