IBM TAS Connector for Maximo
The TRIRIGA - Maximo Connector is released in TAS as TAS Connector for Maximo and in MAS as MAS Connector for TRIRIGA.
The TAS Connector for Maximo connector supports the following capabilities through a collection of App Connect flows:
- Bi-directional loading, and continuous synchronization of portfolio data such as People, Locations, and Assets.
- Bi-directional routing of service requests between TAS and Maximo.
- Automatic shadowing of TAS Work Tasks with Maximo Work Orders to enable Facility teams to do planning, budgeting, and project management in TAS while work tasks get reflected in Maximo as Work Orders for execution.
Use case examples
- TAS is a system of record for People and Space data while Maximo is a system of record for Assets. The maintenance team needs consistent reporting across the entire organization and more streamlined operations. The Spaces flows provided can be used to bulk upload all Space data from TAS into Maximo Locations, and then keep the data continuously in sync as it gets updated in TAS by a Facility Management team. This use case is also applicable to Assets, or People data in both directions.
- Employees use TAS Request Central to submit a Service Request for a broken elevator. Since elevators are maintained in Maximo, the flow creates a corresponding Service Request in Maximo that is assigned to the technicians and is resolved. As the Maximo Service Request gets updated, the changes are automatically reflected in the TAS Service Request. So the originator of the request remains informed of its status. This flow can operate in reverse as well if a Service Request originates from Maximo against a maintenance operation that should be tracked in TAS.
- Facility Management team have a capital project in TAS to replace all the lights with LED lights. The budget, scope, and tasks for the project are already defined. The flow can then create corresponding Work Orders in Maximo for each task to get executed by technicians by using the Maximo Manage and Mobile applications. As the tasks get updated in Maximo, those updates flow back into TAS to reflect in the project plan.
Connector architecture
IBM App Connect provides a flexible environment for integration solutions to transform, enrich, route, and process business messages and data. App Connect flows enable specific integration use cases by connecting to predefined APIs to route and map data. Mapping is pre-defined but it can be customized as per the requirement. Native API framework is used for Maximo and TAS and is enabled through provided packages that can be imported.
Data mapping
App Connect flows
File | Flow | Destination | Operation |
---|---|---|---|
PLUSITRIPerson2MX_v1_0_0.yaml | People | TRI to Max | Single record at a time |
PLUSITRIOrg2MX_v1_0_0.yaml | People | TRI to Max | Single record at a time |
PLUSIMXPerson2TRI_v1_0_0.yaml | People | Max to TRI | Batch and individual records |
PLUSITRISpace2MX_v1_0_0.yaml | Spaces/Locations | TRI to Max | Single record at a time |
PLUSITRISpaceClass2MX_v1_0_0.yaml | Spaces/Locations | TRI to Max | Single record at a time |
PLUSITRILocPath2MX_v1_0_0.yaml | Spaces/Locations | TRI to Max | Single record at a time |
PLUSIMXLocation2TRI_v1_0_0.yaml | Spaces/Locations | Max to TRI | Batch and individual records |
PLUSITRIAsset2MX_v1_0_0.yaml | Assets | TRI to Max | Single record at a time |
PLUSITRIAssetSpec2MX_v1_0_0.yaml | Assets | TRI to Max | Single record at a time |
PLUSIMXAsset2TRI_v1_0_0.yaml | Assets | Max to TRI | Batch and individual records |
PLUSITRIServiceReq2MX_v1_0_0.yaml | Service Requests | TRI to Max | Single record at a time |
PLUSITRIReqClass2MX_v1_0_0.yaml | Service Requests | TRI to Max | Single record at a time |
PLUSIMXServiceReq2TRI_v1_0_0.yaml | Service Requests | Max to TRI | Single record at a time |
PLUSITRIWorkOrder2MX_v1_0_0.yaml | Tasks or Work Orders | TRI to Max | Single record at a time |
PLUSIMXWorkOrder2TRI_v1_0_0.yaml | Tasks or Work Orders | Max to TRI | Single record at a time |
PLUSITRIPEOPLEBATCH_v1_0_0.yaml | Batch People | TRI to Max | Batch |
PLUSITRIORGANIZATIONBATCH_v1_0_0.yaml | Batch Org | TRI to Max | Batch |
PLUSITRISPACEBATCH_v1_0_0.yaml | Batch Space | TRI to Max | Batch |
PLUSITRIPROPERTYBATCH_v1_0_0.yaml | Batch Property | TRI to Max | Batch |
PLUSITRIBUILDINGBATCH_v1_0_0.yaml | Batch Building | TRI to Max | Batch |
PLUSITRIFLOORBATCH_v1_0_0.yaml | Batch Floors | TRI to Max | Batch |
PLUSITRIASSETBATCH_v1_0_0.yaml | Batch Assets | TRI to Max | Batch |
Before you begin
- An instance of App Connect Enterprise or App Connect Pro with the Designer component.
- Admin access to your Maximo instance with an API key generated for this integration.
- TRIRIGA environment with a dedicated username and password for this integration.
- Secure connection between TRIRIGA, App Connect, and Maximo. You can also use Secure Gateway for this purpose. For information, see Secure Gateway..
- Import AppConnect Cert to Maximo to enable encrypted communication.
- Import AppConnect Cert to TRIRIGA to enable encrypted communication.
Downloadable Resources
Download the latest mas_tri_connector zip file that has all of the flows and configuration files.
Installation and configuration guide
- Install Connector
- Configure
App Connect
- Authenticate
- Import Flows
- Configure
TAS
- Import TRIRIGA OM Package
- Point integration object to App Connect Flow
- Configure
Maximo
- Add necessary fields
- Publish channel to point to App Connect Flow
- Testing
- MAS outbound connectivity
- TRIRIGA POSTMAN
Part 1. Install Connector
- Search for TRIRIGA from the Catalog page and select the TRIRIGA Connector tile.
- On the tile page, click Configure and it will take you to the update configuration page.
- Select the latest version of the connector under the Components section, click Apply Changes at the top of the page, and then click Confirm.
- Navigate to the Admin dashboard of the instance of Manage within MAS.
- Select the workspace where the instance is deployed on and update the configuration.
- Scroll down to Customization and link to the
location of the .zip file in the field. Note: For detailed information about customization, see Setting customizations
- Click Apply Changes and Manage will update the instance with the customization.
- On the Maximo Admin workstation, overlay the Maximo SMP directory (/opt/IBM/SMP/maximo) with the contents from the solution zip file that is provided. This will lay down the Java Classes and .dbc files provided with the solution.
- Shutdown the MXServer.
- Run UpdateDB command to install the solution components:
- Navigate to /opt/IBM/SMP/maximo/tools/maximo.
- Run
./updatedb.sh
.
- Build the Maximo EAR file:
- Navigate to /opt/IBM/SMP/maximo/deployment.
- Run
./buildmaximoear.sh
.
- Deploy the new Maximo EAR File on all the Maximo servers:
- In WebSphere console, navigate to .
- Select MAXIMO and then click Update button.
- Select Browse and then select the EAR file built during Step 4.
- Click Next and accept defaults from all the pages.
- After deployment, click Save.
- Start the applications and MXServer.
Part 2. Configure App Connect
- Create two accounts from the Catalog tab in
order to connect the applications. Once all of the connectors have
loaded, type
http
to find the HTTP application. - If this is the first account, select Connect to begin setting up the initial HTTP account. If this is not the first account, ensure to make a note of any other generic account names present because the number of the accounts created depends on what is already created. App Connect creates an account with a generic name in a sequential order. For example, if Account 1 and Account 2 are present, the newly account is Account 3.
- Use the following table to associate the proper credentials for the
accounts:
Flow Account Name Username Password API key API location API key name Max to Tri mxtririga Your TAS username Your TAS password N/A N/A N/A Tri to Max trimaximo N/A N/A Your Maximo API key header API key - Once the account is connected, navigate back to the HTTP application on the Catalog page and rename the new account according to the Account Name column defined in the table in step 3.
- Locate the .yaml files for the desired flows from the provided zip.
- Import the Selected Flows into either App Connect Enterprise or App Connect SaaS on IBM Cloud by using the following instructions.
- From the App Connect Dashboard, click New, and select Import Flow from the drop-down menu.
- Either drag and drop or select the flow for import.
- The flow should now be uploaded onto the App Connect instance. From this screen navigate by using the Edit flow button to see the individual nodes of this flow. Ensure to select the HTTP account that you have configured for Maximo to TRIRIGA for the connector.
- Click Done on the top right of the screen, and then click on the three dots in the top right corner and select Start API.
- Navigate to the Test tab once it shows that the flow is Running and select the POST option on the left side of the screen.
- Click Try It and copy the URL and security credentials from this screen for the next step.
- The interface is mostly the same, but instead of Try It you can see the Manage tab. This page contains a few important pieces of information that you need to complete the configuration. First, at the top of the page under API Info you can see the Route field. Piece this together with the correct path of the flow that you are implementing in order to create the proper flow URL.
- Collect the API key at the bottom of the page from the Sharing outside of Cloud Foundry organization field.
- Click Create API key and documentation link. Provide a name and an API key is generated for you to use with this flow along with a documentation link that looks like the Test page from the on-prem configuration.
- The end of the URL at the top of the page should have the path that completes the route URL. Copy the end of the URL that begins with tri and add it to the piece gathered earlier. The 6 character string that precedes the path on the documentation should match the last 6 characters of the route piece from before.
- From the dashboard view of the Designer application, click the three dots on the flow's tile, select Export, and then click Runtime flow asset (BAR).
- In the App Connect Dashboard instance, select Create Server and then select the type of integration that you want to run. The flows work with all types of integration sizes, so pick the one that is right for your deployment.
- Import the bar file you just downloaded into the section on the Integrations tab.
- On the Configuration screen, refer to securing a REST-based integration to properly secure the server.
- Specify the intended details of the server such as the name, version, and correct license to use. Click Create when you're ready to deploy. It might take 5-10 minutes approximately for the server to be up and running.
Part 3. Configure TAS
Import the OM Package labelled APIConnector into the TAS instance. Navigate to Tools -> Administration -> Object Migration and select New Import Package to begin the import process. For more information, see Object migration overview.
- Create an integration user by following the steps given in Chapter 2. This user should be a non-admin user and should not be part of the Admin security group.
- Assign that user to a new or existing group for the integration. If you need to create a new security group, follow the steps given in Chapter 1.
- Add the TAS Base License to the License Details section on the user Profile.
- Select the newly created group or desired existing group and switch to the Access tab and then add the appropriate access for the integration.
Module | Business Object Label |
---|---|
Asset | Building Equipment |
Classification | Request Class |
Classification | Space Class Current |
Classification | Asset Spec Class |
People | People |
Location | Property |
Location | Building |
Location | Floor |
Location | Space |
Organization | Organization |
Request | Service Request |
Task | Work Task |
Navigate to Date Time Format field, set the format in UTC.
and select the user profile that triggers the action. In the- From the main page of the TAS application, click Tools -> System Setup -> Integration -> Integration Object. Under the Name column, type in apic, and select the integration object that pertains to the record that is getting sent.
- Click the object and fill in the credentials in the pop-up box.
Part 4. Maximo Configuration
- If you have not already done so, import AppConnect Cert to Maximo to enable encrypted communication.
- The following steps and prerequisites are done against a Maximo demo database. The naming conventions might slightly differ from this, but these are the necessary components.
Within Maximo, configure your instance to be ready to receive records from TAS. If these pre-requisites are not completed, the action is not recorded.
- Create an Organization named TRIRIGA
- Navigate to the Organizations page and click the blue + button on the top row.
- Fill in the Organization name as TRIRIGA and the description as TAS Organization.
- Fill in the remaining required fields as:
Field name Value Base Currency 1 USD Item Set SET1 Company Set COMPSET1 Default Item Status PENDING Default Stock Category STK - Click Save Organization on the left side of the screen under Common Actions. This is set to Active state later after there is a clearing account.
- Create a Testing clearing account in Chart of
AccountsUn-require the GL Account fields
- Navigate to Financial -> Chart of Accounts and click on the previously created TAS org in the Organizations table. Currently, there should be no GL Accounts for TAS present.
- Click GL Component Maintenance on the left side under
More Actions, and add a
New Row with the following
values:
Field name Value GL Component Value 1001 Description Testing Active Yes - Click OK. Click New Row under GL Accounts for TRIRIGA and click the Search icon to search for that GL Component. Select the component to populate in the GL Account and Description fields. The Active Date field must auto-populate to the current date.
- Navigate back to Organizations and update the TRIRIGA organization to show the newly created Clearing Account, select the Active check box, and then click Save Organization.
- Create a site TRIMAIN and set it to active
- On the Organization page, click the Sites tab at the top of the page.
- Click New Row under Sites and enter TRIMAIN as the site name and MAIN Site as the description. Set the site to Active.
- Click Save Organization.
- API KeyMAS
- Navigate to .
- Click Add API key.
- Select the MXINTADM user and then click Add to generate an API key for this user. Securely store this API key for later use.
Maximo 7.6.1.2- Navigate to Administration -> Administration. A new window opens with the Maximo-X application.
- On the Integration page, click the API Keys tab at the top of the page and then click the Add API key button.
- Select the MXINTADM user and click the Add button to generate an API key for this user. Securely store this API key for later use.
- Integration Controls
- Navigate to Enterprise Services and click Create
Integration Controls. These integration controls help
translate specific external values into values Maximo
understands. The following tables contain values to set up this
demo, but can be customized to fit your TAS and Maximo naming
conventions. There should be 5 X-Ref Integration Controls
created with the following associations:
Integration control Maximo value External value Description Domain PLUSILOCSTATUS ACTIVE ACTIVE TAS Location Status mapping for inbound flows LOCASSETSTATUS PLUSILOCSTATUS INACTIVE REVIEW IN PROGRESS N/A N/A PLUSILOCSTATUS OPERATING OPERATING N/A N/A PLUSIORG TRIMAIN IBM Organization mapping for TAS N/A PLUSIORG TAS TAS N/A N/A PLUSIORGEN TAS EAGLENA TAS Organization mapping for Inbound flow N/A PLUSIORGEN TAS IBM N/A N/A PLUSIORGEN TAS MAXIMO ORG N/A N/A PLUSIORGEN TAS TAS N/A N/A PLUSIPRIORITY 1 High Priority mapping for TAS N/A PLUSIPRIORITY 2 Medium N/A N/A PLUSIPRIORITY 3 Low N/A N/A PLUSISITEEN TRIMAIN BEDFORD TAS Location mapping for inbound flows N/A PLUSISITEEN TRIMAIN SPACE 01 N/A N/A PLUSISITEEN TRIMAIN TRIMAIN N/A N/A - Once these Integration Controls are created, associate them in
both the created Enterprise Services and Publish Channels by
using the following two tables:
Enterprise service Control PLUSIASSET PLUSIORGEN PLUSIASSET PLUSIPRIORITY PLUSIASSET PLUSISITEEN PLUSILOCATION PLUSILOCSTATUS PLUSILOCATION PLUSISITEEN PLUSILOCATION PLUSISTATUS PLUSIPERSON PLUSIORGEN PLUSIPERSON PLUSISITEEN PLUSIWO PLUSIWOPRIORITY Publish channel Control PLUSIASSET PLUSIPRIORITY PLUSILOCATION N/A PLUSIPERSON PLUSIORG PLUSISR N/A PLUSIWO PLUSIWOPRIORITY PLUSIWO PLUSIWOSTART - Return to the PLUSITRIRIGA External System. On the left side of the External Systems page, select Setup Integration Controls under More Actions and make sure that all 5 Integration Controls are showing as present.
- Navigate to Enterprise Services and click Create
Integration Controls. These integration controls help
translate specific external values into values Maximo
understands. The following tables contain values to set up this
demo, but can be customized to fit your TAS and Maximo naming
conventions. There should be 5 X-Ref Integration Controls
created with the following associations:
- Enable Object Structure SecurityThe user needs to be able to transact against the specific object structures in Manage.
- Navigate to Object Structures and
search for MXPERSON. On the left side of the MXPERSON screen select Configure Object Structure
Storage and toggle the Use Object Structure for Authorization Name button. The object
structure is saved.
Complete this process for the following object structures:
- MXASSET
- MXOPERLOC
- MXSR
- MXWO
- MXDOMAIN
- Navigate to Security -> Security Groups and select the security group the current user is part of.
- Click the Object Structures tab and filter search for
MXPERSON. Once selected, click Grant Listed Options for
This Object Structure and save the Group.Note: Repeat this process for the other changed structures.
- Navigate to Object Structures and
search for MXPERSON. On the left side of the MXPERSON screen select Configure Object Structure
Storage and toggle the Use Object Structure for Authorization Name button. The object
structure is saved.
- Application Designer Changes
Navigate to System Configuration -> Platform Configuration -> Application Designer.
- Person
-
- Search for PERSON, switch to the Person tab and select a section to add three new boxes.
- At the top, click the Control Palette
icon and add a Multipart
Textbox at the bottom of the section. Add the
values from the below table within the properties
of the Multipart Textbox and click Save
Definition.
Note: Ensure that the Attributes are taken from the PERSON Object.
Follow the same directions by using the above information for the other objects that will be used in the integration.Type of Control Label Attribute Attribute for Part 2 (If Multipart Textbox) Lookup Input Mode for Part 2 (If Multipart Textbox) Multipart Textbox TAS Location Path PLUSIPRIMARYLOCPATH PLUSILOCATIONPATH.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Primary Organization PLUSIORGPATH PLUSIORGANIZATIONPATH.DESCRIPTION VALUELIST Read only Textbox TAS Record ID EXTERNALREFID (From the Person Object) N/A N/A N/A
-
- Asset
Search for ASSET in Application Designer.
Note: Ensure that the Attributes are taken from the ASSET Object.
Type of Control Label Attribute Attribute for Part 2 (If Multipart Textbox) Lookup Input Mode for Part 2 (If Multipart Textbox) Multipart Textbox TAS Building Equipment Spec PLUSIASSETSPECNAME PLUSIASSETSPECCLASS.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Primary Organization PLUSIORGPATH PLUSIORGANIZATIONPATH.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Location Path PLUSILOCPATH PLUSILOCATIONPATH.DESCRIPTION VALUELIST Read only Textbox TAS Record ID EXTERNALREFID (From the Asset Object) N/A N/A N/A - Location
Search for LOCATION in Application Designer.
Note: Ensure that the Attributes are taken from the LOCATION Object.
Type of Control Label Attribute Attribute for Part 2 (If Multipart Textbox) Lookup Input Mode for Part 2 (If Multipart Textbox) Multipart Textbox TAS Space Classification PLUSISPACECLASSIFICATION PLUSISPCCLASSIFICATION.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Parent Location PLUSIPARENTLOCATION PLUSIPARENTPATH.DESCRIPTION VALUELIST Read only Textbox TAS Record ID EXTERNALREFID (From the Location Object) N/A N/A N/A - Service Request
Search for SR in Application Designer.
Note: Ensure that the PLUSIREQCLASSID Attribute is taken from the TICKET Object.
Type of Control Label Attribute Attribute for Part 2 (If Multipart Textbox) Lookup Input Mode for Part 2 (If Multipart Textbox) Multipart Textbox TAS Request Classification PLUSIREQCLASSID PLUSIREQCLASS.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Primary Organization PLUSIORGPATH PLUSIORGANIZATIONPATH.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Parent Location PLUSIPARENTLOCATION PLUSIPARENTPATH.DESCRIPTION VALUELIST Read only Textbox TAS Record ID EXTERNALREFID (From the Location Object) N/A N/A N/A Click Save Definition after the changes are added.
- Work Order
Search for WOTRACK in Application Designer.
Note: Ensure that the PLUSIREQCLASSID Attribute is taken from the WORKORDER Object.
Type of Control Label Attribute Attribute for Part 2 (If Multipart Textbox) Lookup Input Mode for Part 2 (If Multipart Textbox) Multipart Textbox TAS Location Path PLUSILOCPATH PLUSILOCATIONPATH.DESCRIPTION VALUELIST Read only Multipart Textbox TAS Primary Organization PLUSIORGPATH PLUSIORGANIZATIONPATH.DESCRIPTION VALUELIST Read only Textbox External Ref ID EXTERNALREFID (From the Work Order Object) N/A N/A N/A Click Save Definition after the changes are added.
- Person
- TAS to Maximo Service Request Comment & Attachment
SupportThe PLUSITRIServiceRequest2MX_v_1_1_0 integration supports both Comments and Attachments from TAS. This includes pictures or images that are attached as either Comments or Attachments in TAS. You must do the following configuration steps to include Comments and Attachments:
- DB Config
- Go to Database Configuration and pull up the WORKLOG object.
- Add EXTERNALREFID as an attribute with a type ALN and 50 length.
- Turn on Admin Mode and run Database Configuration for this change to be referenced in the Index.
- Once EXTERNALREFID is added, navigate to Indexes and add the index PLUSIEXTREF. Under the Columns table ensure to reference the EXTERNALREFID attribute that was created and leave Enforce Uniqueness unchecked.
- Turn on Admin Mode and run Database Configuration again to save the changes
- Object Structure
- Navigate to Object Structure and search MXSR. Duplicate this Object Structure and rename it as PLUSISRDOCS.
- Add the following new Source Objects to the Structure underneath SR: DOCLINKS and WORKLOG.
- Select the WORKLOG Source Object. In the Details section add the PLUSIEXTREF Index to the Alternate Key field. Navigate to Exclude/Include fields and then click Non-Persistent fields in the window and ensure that Description_LongDescription is selected as Included.
- Enterprise Services
After making the changes in database and object structure level, you must reference the changes in the Enterprise Service.
- Duplicate the default PLUSISR Enterprise Service and rename it as PLUSISRDOCS that references the newly created Object Structure.
- Remove the default PLUSISR Enterprise Service from the PLUSITRIRIGA External System to delete the Enterprise Service. After deletion, duplicate PLUSISRDOCS and name it PLUSISR to replace the deleted Enterprise Service.
- Add the new PLUSISR back into the External System. When a Service Request arrives containing a comment or an attachment, Maximo keeps track of the comments in the Worklog section and images or documents in the Attachments section.
- DB Config
Part 5: Testing
To verify that the configuration is complete, send a test payload in order to test connectivity.
- Navigate to the End Points application and click Test at the bottom of the integration that you would like to test.
- Send a test payload that is a valid object. For example,
{"Hello":"World"}
. - If the response is anything other than Bad Request, see what might be causing the error
Use a tool such as Postman to test the connectivity of the App Connect flow. You can use a Sample JSON Payload from this open source repository.
Part 6: Data Pre-requisites for the Integrations
Because of internal references within the TRIRIGA and Maximo data models, some flows depend on other flows to function. The following tables describe these relationships. You need to run the pre-requisite flows first before running the main flows.
Flow | Flows to run first |
---|---|
MXPerson2TRI | TRISpace2MX, TRILocPath2MX, TRIOrg2MX |
MXAsset2TRI | TRISpace2MX, TRILocPath2MX, TRIOrg2MX, TRIAssetSpec2MX |
MXLocation2TRI | TRILocPath2MX, TRISpaceClass2MX |
MXServiceReq2TRI | TRILocPath2MX, TRIReqClass2MX, TRIPerson2MX |
MXWorkOrder2TRI | TRILocPath2MX, TRIOrg2MX |
Flow | Flows to run first |
---|---|
TRIPerson2MX | TRISpace2MX, TRILocPath2MX, TRIOrg2MX |
TRIAsset2MX | TRISpace2MX, TRILocPath2MX, TRIOrg2MX, TRIAssetSpec2MX |
TRISpace2MX | TRILocPath2MX, TRISpaceClass2MX |
TRIServiceReq2MX | TRILocPath2MX, TRIReqClass2MX, TRIPerson2MX |
TRIWorkOrder2MX | TRILocPath2MX, TRIOrg2MX |
PeopleBatch | TRISpace2MX, TRILocPath2MX, TRIOrg2MX |
AssetBatch | TRISpace2MX, TRILocPath2MX, TRIOrg2MX, TRIAssetSpec2MX |
SpaceBatch | TRILocPath2MX, TRISpaceClass2MX |
Troubleshooting
Depending on the direction of the flow, cross-referencing errors from two systems can help identify the root cause of an issue with the integration. For example:
- If there is a Not Found error in Maximo Message Reprocessing when running the flow, double check the logs in App Connect to see if there is a corresponding error. If there is an error, the root cause might be related to what is being sent out of Maximo. If there isn't, then the message never left Maximo and the flow should be checked to make sure it is running.
des-01-quickstart-ma-designer-designer-flows
.When testing that the end point is entered correctly on the End Points application, there are two common errors:
Error | Cause | Resolution |
---|---|---|
Response code received from the HTTP request from the endpoint is not successful | Invalid URL in the Integration Object | Double check the URL that all of the components are entered correctly. Ensure that there are no accidental spaces at the beginning or the end in event of a copy/paste. |
404: Not Found | Flow is not Running | Ensure that the flow is Running before starting the cron tasks. |
PKSync error | Certificate error | Confirm the certificate is configured correctly. |
Errors in Maximo can be found in Message Reprocessing
Error | Cause | Resolution |
---|---|---|
Bad Request error | Either the payload being sent out is incorrect or the account configurations are wrong. | Double check to ensure that the Accounts from the App Connect pre-requisite section are correct and that the item in Maximo has all of the mapped fields. |
Error | Cause | Resolution |
---|---|---|
404 - Not Found: Cannot POST | Invalid URL in the Integration Object | Double check the URL in the specific Integration Object that all of the components are entered correctly. |
404 - API doesn't exist | Flow is not running | Double check that the flow is Active in App Connect. |
404 - The HTTP request returned with an error 404 "Not Found" | Incorrect App Connect connector config | Double check that the credentials being used in the HTTP post node in App Connect are correct. |
401 - Authorization error | Too many user sessions open in TAS | Open the Admin dashboard on the TAS environment and check the users logged in. This issue can arise after a number of requests are made to TAS and then gives a 401 error even with the proper credentials. Clear the users logged in to resolve the issue. |
Pre-requisite references
-
Extract the App Connect certificate from an imported flow URL. Navigate to the flow's page and click on Test and then Try It to get the proper URL.
-
Navigate to the Admin dashboard for MAS and go to the workspace where Manage is deployed.
-
Update the configuration and scroll down to Imported Certificates. Untick the System managed button and fill in the extracted certificate in the fields.
-
Click Apply Changes at the top of the page and MAS will update the trust store with the new certificate.
Configure WebSphere Certificates. This makes a test connection to a Secure Sockets Layer (SSL) port and retrieves the signer from the server during the handshake.
-
Log into the WebSphere console that is hosting the Maximo server.
- Click on Security -> SSL certificate & key management. Under Related Items click on Key stores and certificates.
- Click on CellDefaultTrustStore and on the next page under Additional Properties click on Signer certificates.
-
From this page, click Retrieve from Port and fill in the required fields using the table below:
Field Value Host The host from the imported flow URL Port 443 Alias appconnect - Once all three have been entered in, click Retrieve signer information and the information from the URL will populate on screen. Click Save in the box at the top and then repeat the process for NodeDefaultTrustStore.
In OpenShift, import the following yaml with the App Connect certificates added under the spec.alias.crt section:
cat <<EOF | oc create -f -
apiVersion: truststore-mgr.ibm.com/v1
kind: Truststore
metadata:
name: my-tas-truststore
spec:
license:
accept: true
includeDefaultCAs: true
servers:
- "example.com:443"
certificates:
- alias: alias_1
crt: |
-----BEGIN CERTIFICATE-----
...
Certificate 1
...
-----END CERTIFICATE-----
...
- alias: alias_n
crt: |
-----BEGIN CERTIFICATE-----
...
Certificate n
...
-----END CERTIFICATE-----
EOF
If there is already a truststore for TAS, update the truststore with the App Connect certificate.