fte:ignoreoutcome Ant task

Ignore the outcome of an fte:filecopy, fte:filemove, or fte:call command. When you specify an fte:filecopy, fte:filemove, or fte:call task to have an outcome of defer, the Ant task allocates resources to tracking this outcome. If you are no longer interested in the outcome, you can use the fte:ignoreoutcome task to free those resources.

Attributes

id
Required. Identifies the outcome that is no longer of interest. Typically you specify this identifier using a property that you set using the idproperty attribute of the fte:filecopy Ant task, fte:filemove Ant task, or fte:call Ant task task.

Example

This example shows how you can use the fte:ignoreoutcome task to free the resources allocated to tracking the outcome of the earlier fte:filecopy Ant task task.
<!-- issue a file copy request -->
<fte:filecopy cmdqm="qm1@localhost@1414@SYSTEM.DEF.SVRCONN" 
                  src=agent1@qm1 dst="agent1@qm1"
                  idproperty="copy.id"
                  outcome="defer"/>

<!-- do some other things -->

<!-- decide that the result of the copy is not interesting -->
<fte:ignoreoutcome id="${copy.id}"/>