IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Passing parameters to a task

About this task

The Desktop offers the ability to pass input parameters to the task. To do this, the parameters attribute must be appropriate for the classes that implement the TaskLauncher interface. When a TaskLauncher defines the parameters attribute, the Desktop assumes that the operation handles these input parameters as part of being able to handle input parameters.

When the task is a toolkit task, an operation must define a format with the alias fastPathInputFormat. When a TaskLauncher defines parameters, the Desktop will ask the operation for the fastPathInputFormat format and use this format to unformat the parameter's attribute values in the process context before showing the operation panel or executing the operation. With this parameter definition, the same task can be launched with different parameters for each TaskLauncher within the Desktop.

When the task is a Java external task, the parameters must be separated by commas, and must be the parameters of the main method of the class.



Feedback