4.1

Table Of Contents
2 Expand the Samples > SolarSystem nodes in the hierarchical list of workflows to see the list of workflows
that the solar system plug-in adds to the library.
3 Right-click the Wait On Flare Event workflow, select Start workflow, and click Submit.
The Wait On Flare Event workflow calls the SolarSystemTriggerGenerator.createStarFlareTrigger()
method to create an event trigger.
4 Click the workflow token for this run of the Wait On Flare Event workflow.
In the workflow schema, you can see that the workflow has suspended its run at the Waiting Event
element. In the Logs tab you can see that the workflow is waiting for a flare of at least magnitude 10.
5 Click Inventory.
6 Expand the SolarSystem node in the hierarchical list of plug-ins.
7 Right-click Helios and select Run workflow > Generate Flare Event.
Set the magnitude of the flare to a value greater than 10 when you run the workflow.
8 Click Workflows.
9 Click the workflow token for Wait On Flare Event workflow.
The workflow is no longer waiting and has ended its run. In the Logs tab for this token you can see that
the workflow has recorded a flare of at least magnitude 10.
The Wait On Flare Event workflow implements the solar system scripting API to create a plug-in trigger that
waits for solar flares of a given magnitude. When a flare event occurs, the workflow ends, but you can create
a loop in the workflow to record the event and wait for the next event.
What to do next
Access the solar system objects and workflows by using the solar system Web view.
Access Plug-In Objects and Operations by Using a Web View
With Web views, you can run workflows on objects from the Orchestrator inventory from a Web browser
instead of from the Orchestrator client.
The solar system example includes a Web view that you can use to access the objects and workflows of the
solar system plug-in from a Web browser.
Prerequisites
n
Install the solar system plug-in in the Orchestrator server.
n
Start the Orchestrator client.
Procedure
1 Click Web Views in the Orchestrator client.
2 Right-click the SolarSystem Web view and select Publish.
3 Open a browser and go to http://
orchestrator_server
:8280.
In the URL, orchestrator_server is the DNS name or IP address of the Orchestrator server, and 8280 is the
default port number where Orchestrator publishes Web views.
4 On the Orchestrator home page, click Web View List.
5 Click Solar System.
6 Log in using your Orchestrator user name and password.
7 Click the buttons in the Web view to run workflows on the objects in the solar system application.
vCenter Orchestrator Developer's Guide
208 VMware, Inc.