The following commands can be used in steps to affect tasks:
LAUNCH_WIZARD
—Used by the Base plugin to launch wizards. Do not use.LAUNCH_TEMPLATE
—If you are extending CIM, use this command to signal the start of your own template. Requiresvalue="class name of template"
.TEMPLATE_COMPLETE
—Signals the end of a template, returning program control to the wizard. If you provide avalue
attribute, it is used as the value of a GO_TO step by the parent plugin.WIZARD_COMPLETE
—Signals the end of a wizard. Do not use.EXECUTE_QUEUED_TASKS
—Executes all tasks on the queue at one time.DROP_STEP_TASKS
—Any configured tasks that have not yet been performed are not executed.EXECUTE_STEP_TASKS
—Executes tasks configured during step, does not execute any queued tasks.DELETE_QUEUED_TASKS
—Clears the queue of all tasks.DISPLAY_TEXT
—Displays text to the UI. Requiresvalue="text to display"
.ADD_STEP_TASKS_TO_QUEUE
—Moves step tasks to the queue, enabling them to be processed as a batch at a later time.
The following example involves executing currently configured tasks when the user moves to the next step in the wizard:
<navoption>
<option default="true">
<label>Next Step</label>
<command type="EXECUTE_STEP_TASKS" />
<command type="NEXT_STEP" />
</option>
For additional examples, see the Example CIM Plugin section of this chapter, or review the wizards.xml
file located at <ATG11dir>/CIM/plugins/base
in your Oracle Commerce Platform installation.