ServiceNowInvoke Activity

You can use the ServiceNowInvoke activity to perform a distinct function by invoking a predefined operations.

General

In the General tab, you can select the modules and operations that you want to use.

The following table lists the configurations in the General tab of the ServiceNowInvoke activity:

Field Module Property? Description
Name No The name to be displayed as the label for the activity in the process.
Module Name No

The module that you want to use.

The Module Name list is only available after you downloaded the WSDL file for the module. If no matching module is found, see Downloading a WSDL File for more details.

This plug-in supports the following three modules:
  • ServiceNow_change_request
  • ServiceNow_incident
  • ServiceNow_problem
Select Operation No The operation that you want to perform.
This plug-in supports the following seven operations for each module:
  • deleteMultiple

    This operation is used to delete multiple records from the target table.

  • deleteRecord

    This operation is used to delete a record from the target table.

  • get

    This operation is used to query a single record from the target table.

  • getKeys

    This operation is used to query a list of sys_id from the target table.

  • getRecords

    This operation is used to query multiple records from the target table.

  • insert

    This operation is used to insert a new record to the target table.

  • update

    This operation is used to update an existing record in the target table.

Description

In the Description tab, you can enter a short description for the ServiceNowInvoke activity.

Advanced

In the Advanced tab, you can specify the timeout for the ServiceNowInvoke activity.

The following table lists the configurations in the Advanced tab of the ServiceNowInvoke activity:

Field Module Property? Description
Activity Timeout (seconds) Yes The ServiceNowInvoke activity timeout in seconds. You can either select preset timeout or specify custom timeout in seconds.

The preset timeout options are: Default Timeout,30,60 and 120 seconds.

Conversations

In the Conversations tab, you can click Add New Conversation to initiate a conversation. A conversation represents two or more related message exchanges in the same process that are correlated by the BusinessWorks engine.

See TIBCO ActiveMatrix BusinessWorks Application Development for more details about how to use conversation.

Input

In the Input tab, you can specify the required input for the activity depending on the specific operation type you select in the General tab.

The following table lists the input elements in the Input tab of the ServiceNowInvoke activity:

Input Item Data Type Description
input message complex The input message of the operation. This element contains all the input message information for the operation.

Output

In the Output tab, the output of the activity varies depending on the specific operation type you select in the General tab.

The following table lists the output elements in the Output tab of the ServiceNowInvoke activity:

Output Item Data Type Description
output message complex The output message of the operation. This element contains all the output message information for the operation.

Fault

In the Fault tab, you can find the error code and error message of the ServiceNowInvoke activity.

The following table lists error schema elements in the Fault tab of the ServiceNowInvoke activity:

Error Schema Element Data Type Description
ActivityTimeOutException
msg String Displays the error message.
msgCode String Displays the error code.