You write, edit, and test custom tasks from within Cisco UCS Director. You must have administrator privileges to write custom tasks.
workflows to orchestrate work on your components.
CloupiaScript uses the
Nashorn script engine. For more details about Nashorn, see the technical notes
on Oracle's website at
Variables in Custom Tasks
top-level variables are included automatically in any custom task:
The workflow execution context. This context object contains information about the current workflow, the current task, and
available inputs and outputs. It also has access to the Cisco UCS Director Java APIs, with which you can perform create, read, update, and delete (CRUD) operations, invoke other tasks, and call other
API methods. The ctxt variable is an instance of the platform API class
logger object. The workflow logger writes to the
service request (SR) log. The
logger variable is an instance of the platform API
that provides access to utility methods. The
util variable is an instance of the platform API class
For more information about the API classes of the implicit variables, see the CloupiaScript Javadoc included in the Cisco UCS Director script bundle.