高级自定义 > Windchill 适配器 > Windchill Adapter Webject Library > Action Webjects > Rollback-Transaction
  
Rollback-Transaction
The Rollback-Transaction webject rolls back a Windchill transaction that was started by a call to the Start-Transaction webject with the same SESSION_ID parameter value.
All changes made since the most recently executed Start-Transaction webject with the same SESSION_ID parameter value are rolled back, leaving the database unchanged.
Syntax
<ie:webject name="Rollback-Transaction" type="ACT">
<ie:param name="AUTHORIZATION"
data="$(@SERVER[]authorization[0])"/>
<ie:param name="CONNECTION_ATTEMPTS" data="attempts"/>
<ie:param name="CONNECTION_ATTEMPT_INTERVAL" data="interval"/>
<ie:param name="DBUSER" data="username"/>
<ie:param name="INSTANCE" data="appl_name"/>
<ie:param name="PASSWD" data="password"/>
<ie:param name="SESSION_ID" data="$(session[]session_id[])"/>
</ie:webject>
Parameters
Required
Interdependent
Optional
INSTANCE
AUTHORIZATION
CONNECTION_ATTEMPTS
SESSION_ID
DBUSER
CONNECTION_ATTEMPT_INTERVAL
PASSWD
* 
If a parameter is listed in the table but is not defined below, then it has a common parameter definition. For descriptions of those parameters, see Common Webject Parameters section in Adapter Webjects Overview.
SESSION_ID
The identifier of the session in which the webject is executed.
This parameter is required.