How to invoke an existing task?

For the sample creating actions, it seems that the actions are created trough coding xml files and post it to server.

It is it possible to invoke an existing task developed by the console admin?

For example, I have a task install_db2_on_aix, when run from the console, it will prompt me to input the parameters needed, media url/ install location etc., and then get db2 installed on the sepecified computer.

Is it possible to do so trough the rest api?

Thanks a lot.

Yes you can.
There’s a simple example here that uses a task in the BES Support Site.
To see the XML you need to construct in your case you can take action in the console and then export the action.
The parameters are also set as part of the XML.
There’s an example here

Hi, thanks a lot for your response :smile: