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.
<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: