![VMware VCLOUD REQUEST MANAGER 1.0.0 Скачать руководство пользователя страница 54](http://html1.mh-extra.com/html/vmware/vcloud-request-manager-1-0-0/vcloud-request-manager-1-0-0_configuration-manual_1043320054.webp)
Prerequisites
You have vCloud Administrator privileges.
Procedure
1
Open the Service Manager Server Console.
2
Expand System and then click on External Commands.
3
Click New External Command, enter the details of the external command, and click OK.
Click the browse button to select an executable. The executable must be able to be run from the Request
Manager host machine.
What to do next
Add a Run External Procedure Task to a workflow.
Add a Run External Procedure Task to a Workflow
You can add a Run External Procedure Task to a workflow to automatically run an executable when the task
is activated.
Prerequisites
You have vCloud Administrator privileges and you have added an external command to the Service Manager
Server Console.
Procedure
1
In the Task Dependencies window for a workflow, select the Run External Procedure Task from a palette
of tasks and drag-and-drop it into the dependency diagram.
2
Link the task into the existing workflow, then double-click the task to open it.
3
Enter the task details.
In the Command field, select an executable that you defined in the Service Manager Server Console.
For more information about the Parameters field, see
“Passing Field Values to a Run External Procedure
Task,”
on page 54.
4
Click Save.
Passing Field Values to a Run External Procedure Task
You can pass field values to a Run External Procedure Task by using the Parameters field.
Field values from the request or task can be passed to the command by entering parameter names from the
table into the Parameters field.
For example, to pass the constant,
vApp
, and the reference to a new vApp to a change management system, enter
[REQUEST:EXTFLDV_390022]
. The value of the vCloud Director Console URL for the vApp will replace
[REQUEST:EXTFLDV_390022]
in the command line of the external procedure task, for example
NotifyCM.exe vApp
https://vcd1rhl5vcd.model.infra.com.au/api/v1.0/vApp/vapp-1386927350
.
Below is a list of data fields that can be passed as parameters to an external command. Square brackets
[
and
]
must be used in Parameters to indicate that the text refers to a data field.
Table 5-5.
Common Request Data Fields
Reference
Field Description
Data Type
REQUEST:REQUEST_NO
Request No
Int
REQUEST:REQUEST_TITLE
Request Title
String
Request Manager Installation and Configuration Guide
54
VMware, Inc.
Содержание VCLOUD REQUEST MANAGER 1.0.0
Страница 6: ...Request Manager Installation and Configuration Guide 6 VMware Inc...
Страница 14: ...Request Manager Installation and Configuration Guide 14 VMware Inc...
Страница 26: ...Request Manager Installation and Configuration Guide 26 VMware Inc...
Страница 30: ...Request Manager Installation and Configuration Guide 30 VMware Inc...