Skip to main content
ManualsDex
Cisco Original PDF 4 Pages98 KB

CISCO CloupiaScript Interpreter Instructions

Category:CloupiaScript InterpreterCloupiaScript
Download PDF (98 KB)

Document viewer

4 Pages · 98 KB · Cisco official PDF

Manual overview & contents

Cisco · 4 Pages

Official 4-page Cisco documentation (98 KB PDF). Key sections include About the CloupiaScript Interpreter, Starting the CloupiaScript Interpreter, Starting the CloupiaScript Interpreter with a Context, Example: Using the CloupiaScript Interpreter.

The CloupiaScript interpreter is a JavaScript interpreter populated with built-in libraries and APIs. You can use the CloupiaScript interpreter to test CloupiaScript code without having to create and run a workflow task. The printed result provides the names and values for variables in the object and the names of all the object's functions. You can then call toString() on any of the method names to examine the method signature. - Upload()—Takes a filename as an argument and uploads the file's contents to the CloupiaScript interpreter. The Cloupia Script Interpreter screen appears.

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. About the CloupiaScript Interpreterp. 1
  2. Starting the CloupiaScript Interpreterp. 1
  3. Starting the CloupiaScript Interpreter with a Contextp. 2
  4. Example: Using the CloupiaScript Interpreterp. 2

Extracted manual text

About the CloupiaScript Interpreter, on page 1
Starting the CloupiaScript Interpreter, on page 1
Starting the CloupiaScript Interpreter with a Context, on page 2
Example: Using the CloupiaScript Interpreter, on page 2 About the CloupiaScript Interpreter The CloupiaScript interpreter is a JavaScript interpreter populated with built-in libraries and APIs. You can use the CloupiaScript interpreter to test CloupiaScript code without having to create and run a workflow task.

Built-in Functions of the CloupiaScript Interpreter

PrintObj()—Takes an object as an argument and prints out all the properties and methods in the object.
Upload()—Takes a filename as an argument and uploads the file's contents to the CloupiaScript interpreter.

Starting the CloupiaScript Interpreter

To open the CloupiaScript interpreter, do the following:

Step 1

The Cloupia Script Interpreter screen appears.

Enter a line of JavaScript code in the text input field at the bottom of the Cloupia Script Interpreter field.

The code is executed and the result is displayed. If there is a syntax error in the code, the error is displayed.

Starting the CloupiaScript Interpreter with a Context You can evaluate JavaScript in the context of a particular a custom task. To do so, you select a custom task, launch the CloupiaScript Interpreter, and supply the context variables that are defined for executing that custom task.

When you launch the interpreter, it prompts you for values of the custom task input fields and populates the input object of the task. All the variables that are available when you actually execute the custom task are made available.

To open the CloupiaScript interpreter with a context available, do the following:

Step 1

Click the row with the custom task for which you need to test the JavaScript.

Click Launch Interpreter with Context.

The Launch Interpreter screen appears with input fields to collect input values for the custom task. The input fields are those defined for the custom task you have selected.

Enter input values in the screen.

The Cloupia Script Interpreter screen appears.

Enter a line of JavaScript code in the text input field at the bottom of the Cloupia Script Interpreter field.

The code is executed and the result is displayed. If there is any syntax error in the code, the error is displayed.

Example: Using the CloupiaScript Interpreter

The printObj( ) function prints all the properties and methods it contains.

Frequently asked questions

What topics are covered in the Cisco CloupiaScript Interpreter Instructions?

This 4-page manual covers: About the CloupiaScript Interpreter, Starting the CloupiaScript Interpreter, Starting the CloupiaScript Interpreter with a Context, Example: Using the CloupiaScript Interpreter.

More manuals from Cisco

View all →
Cisco
Troubleshooting 1646p 8.2 MB

CISCO CATALYST 4500 SERIES CONFIGURATION USER GUIDE

View or download the CISCO CATALYST 4500 SERIES CONFIGURATION USER GUIDE (1646-page PDF). Covers CONFIGURATION MANUAL, Quick Links.

Cisco
Troubleshooting 1568p 8.1 MB

CISCO IOS XE 17 IP Addressing Configuration User Guide

View or download the CISCO IOS XE 17 IP Addressing Configuration User Guide (1568-page PDF). Covers IP Addressing Configuration Guide, Cisco IOS XE 17.x.

IOS XE 17
Cisco
Troubleshooting 1491p 11.3 MB

CISCO 3750-X SOFTWARE CONFIGURATION MANUAL

View or download the CISCO 3750-X SOFTWARE CONFIGURATION MANUAL (1491-page PDF). Covers CISCO CATALYST 3750-X SOFTWARE, Quick Links, Deployment Features.

Cisco
Troubleshooting 1486p 32.7 MB

Cisco AP775A-Nexus Converged Network Switch 5010 Configuration user manual

View or download the Cisco AP775A-Nexus Converged Network Switch 5010 Configuration user manual (1486-page PDF). Covers Cisco MDS 9000 Family Fabric Manager.

AP775A- OL-17256-03
Cisco
Troubleshooting 1178p 6.5 MB

CISCO ASA Series General Operations ASDM Configuration Guide 7.14 User Guide

View or download the CISCO ASA Series General Operations ASDM Configuration Guide 7.14 User Guide (1178-page PDF).

ASDM Configuration Guide 7.14 Configuration Guide 7.14 Guide 7.14
Cisco
Troubleshooting 1140p 5.7 MB

CISCO Release 80 Wireless Controller Configuration User Guide

View or download the CISCO Release 80 Wireless Controller Configuration User Guide (1140-page PDF).

Release 80
Download (98 KB)