Asynchronous promotion and scheduled tasks

If the promotion type for a promotion environment is defined as asynchronous, the promotion is performed at a later time, as part of a scheduled task.

Note: The current asynchronous promotion capability is deprecated, and will be removed in a future release. If you require this capability, use manual promotion instead, and import the generated promotion files manually into the target environments.
You define a promotion type as being asynchronous by setting the value of the <type> element, in the <promotion> element, to async; for example:
<promotion>
  <type>async</type>
</promotion>

For the promotion to occur, you must enable the promotion scheduled task in WSRR.

When the governed object is transitioned, the transition succeeds immediately and a JMS message is sent so the promotion task is scheduled.

When the scheduled task is executed, the object is promoted in the same manner as in the synchronous case. By default, the transition is not rolled back if the promotion fails. However, if you want to roll back the transition if the promotion fails, and therefore provide feedback that the promotion has failed, you can configure a failure transition in the transition configuration.

Details on enabling the promotion scheduled task, and configuring a failure transition, are provided in the following subtopics: