The ServiceMax connector is accessed from the Connectivity tab of the design component palette:
NOTE: As ServiceMax is a Salesforce application, and as this connector is based on the Cloud Studio Salesforce connector, Jitterbit Salesforce functions, variables, and wizards apply and can be used. This documentation references related Salesforce documentation as applicable.
This connector is used to first configure a ServiceMax connection to establish a connection with a ServiceMax instance, and then to configure one or more ServiceMax activities associated with that connection to use as a source or target within an operation:
Standard ServiceMax Activities
- Query: Queries data from a ServiceMax connection and is used as a source in an operation.
- Insert: Inserts new data in a ServiceMax connection and is used as a target in an operation.
- Update: Updates existing data in a ServiceMax connection and is used as a target in an operation.
- Upsert: Both updates existing data and inserts new data in a ServiceMax connection and is used as a target in an operation.
- Delete: Deletes data in a ServiceMax connection and is used as a target in an operation.
Bulk ServiceMax Activities
ServiceMax bulk activities are faster and scale better than non-bulk ServiceMax activities, but should be used only if you do not need to use a transformation to change data prior to reaching the target.
- Bulk Query: Queries a large number of records from a ServiceMax connection and is used as a source in an operation.
- Bulk Insert: Inserts a large number of new records in a ServiceMax connection and is used as a target in an operation.
- Bulk Update: Updates a large number of existing records in a ServiceMax connection and is used as a target in an operation.
- Bulk Upsert: Both updates a large number of existing records and inserts a large number of new records in a ServiceMax connection and is used as a target in an operation.
- Bulk Delete: Deletes a large number of records form a ServiceMax connection and is used as a target in an operation. Deleted records are stored in the ServiceMax Recycle Bin prior to being permanently deleted.
- Bulk Hard Delete: Hard deletes a large number of records form a ServiceMax connection and is used as a target in an operation. Hard deleted records automatically become eligible for deletion.
NOTE: Cloud Studio supports Salesforce API version 47 from the Salesforce Winter '20 release. Salesforce API version 47 uses Salesforce Bulk API version 2.0.
Together, a specific ServiceMax connection and its activities are referred to as a ServiceMax endpoint. Once a connection is configured, activities associated with the endpoint are available from the Endpoints filter:
Creating a ServiceMax Custom Field / External ID for Jitterbit
It is recommended to use a custom field in ServiceMax to associate records with an external ID for Jitterbit. These steps show how create a custom field in ServiceMax on the Account object to create an external ID called "Jitterbit_Account_ID":
- Log in to your ServiceMax instance with your credentials.
- Navigate to Setup > Platform Tools > Objects and Fields > Object Manager.
- From the Object Manager tab, select the standard Account object.
- From the Account object view, go to the Fields & Relationships section, and click New in the top right.
- In Step 1. Choose the field type, select Text as the data type and click Next.
- In Step 2. Enter the details, configure your new custom field as follows. Then click Next.
- Field Label: Jitterbit_Account_ID
- Length: 50
- Field Name: Jitterbit_Account_ID
- External ID: Checked (very important)
- In Step 3. Establish field-level security, accept the default settings by clicking Next.
- In Step 4. Add to page layouts, accept the defaults by clicking Save.
You should be returned to the Fields & Relationships screen for the Account object. Verify that you see the new custom field with the same parameters as shown below.
For more information, refer to Salesforce's documentation for Create Custom Fields.
Salesforce Functions and Jitterbit Variables
A number of Salesforce functions can be used within scripts to provide login and session information and lookups for ServiceMax instances, including these:
In addition, certain Jitterbit variables are provided specifically for use with ServiceMax and Salesforce endpoints, including these:
Last updated: Mar 25, 2020
- No labels