BMC Execute Process Version 2

Executes the command on the server exactly as submitted. The command string can use results of other actions, such as ticket numbers, in its call. The first example above adds an approver to a change request, using very specific parameters. Refer to BMC's documentation for paramters that may require wrapping in quotation marks.

Parameters

Name Description
Command: The full text of the command (including any parameters) to be sent to the server
Wait for server response: Do you want to wait for the server's response -- Yes or No

Sample Configuration

Name Description
Command:
Wait for server response:

Results

Name Description
Return Value The value returned by the server after executing the command. The value will be blank if the 'Wait for Server Response' field is set to "No". It will also be empty if the command returns no values (e.g., commands to delete entries from forms).
Return Status The exit code returned by the process. Zero means success.

Changelog

BMCExecuteProcess_V2 (2013-09-13)

  • Second version. Task 2.x and 3.x-compliant. See README for details.

  • First version: BMCExecuteProcess_V1 (2011-07-21) Task 2.0-compliant.


Related Handlers

ARS9 Generic Query Retrieve
Retrieves a single ARS v9.x entry related to the Remedy Form specified.
BMC Remedy Email HTML Message Create
Creates an email message on the AR System Email Messages form
BMC Remedy Email Message Create
Creates an email message on the AR System Email Messages form
BMC Remedy User Update
Updates an entry in the User form based on the Remedy Login ID
Remedy Generic Create
Creates a single Remedy entry given the JSON mapping of field values and form name.
Remedy Generic Dataload
Populates Records from a CSV data file
Remedy Generic Delete
Deletes a single Remedy entry related to the form entered with the Request ID specified.
Remedy Generic Find
Retrieves request IDs (field 1) and Instance IDs (field 179) for Remedy entries for the form entered using the query specified.
Remedy Generic Retrieve
Retrieves a single Remedy entry related to the form entered with the Request ID specified.
Remedy Generic Update
Updates a single Remedy entry related to the form entered with the Request ID specified. Updates field specified to value specified.
Remedy Group list Users
Lists users for given Group. Throws exception if Group does not exist.
Remedy User add Group
Adds a group to an existing user. Throws exception if User does not exist, also if group does not exist.
Remedy User Create
Creates a User in the User form - Login Name must be unique.
Remedy User list Groups
Lists groups for given User. Throws exception if User does not exist.
Remedy User Remove Group
Rmoves a group from an existing user. Throws exception if User does not exist, also if group does not exist.