Docs Portal
Documentation
API ReferenceConsole

WebTMA Destination

WebTMA logo

The WebTMA Destination connector sends Work Orders and Service Requests from the Mapped graph into WebTMA. It's designed for organizations that use Mapped as the operational hub and want selected maintenance records to be created or updated in WebTMA with the right building context, status mappings, and repair center assignments.

Use Cases

  • Route Mapped work into WebTMA: Push Work Orders and Service Requests created in Mapped or another source connector into WebTMA for execution.
  • Standardize cross-system dispatch: Normalize records in Mapped, then translate statuses, priorities, and work types into WebTMA-specific values.
  • Backfill historical records: Send previously created Mapped Work Orders or Service Requests to WebTMA by date range or by specific graph IDs.

Configuration

Auth Requirements

Provide the WebTMA credentials used for write access.

FieldRequiredDescriptionWhere to Find
Client NameYesYour WebTMA client or tenant nameProvided by your WebTMA administrator
UsernameYesWebTMA username with permission to create and update recordsProvided by your WebTMA administrator
PasswordYesPassword for the WebTMA userProvided by your WebTMA administrator

You can also import these settings from an existing WebTMA Source connector in the same organization.

Place Mappings

This connector uses the Building Selection tab to scope which Mapped records are allowed to sync to WebTMA. Select one or more WebTMA Buildings for this connector's scope, and only Work Orders and Service Requests associated with those mapped Buildings will be eligible for sync.

If a Mapped Work Order or Service Request does not contain matching WebTMA location identities for a Building, Floor, or Space, the connector skips it for syncing.

Work Order Mappings

Complete these enum mappings to ensure Work Orders and Service Requests sync correctly.

MappingRequired to sync Work OrdersDescription
Work Order StatusYesMaps Mapped jobStatus values to WebTMA status IDs
Work Order PriorityYesMaps Mapped jobPriority values to WebTMA priority IDs
Work Order TypeYesMaps Mapped jobType values to WebTMA Work Order type IDs
Work Order Task TypeRecommendedMaps Mapped sector values to WebTMA task IDs when tasks are created
Work Order Repair CenterYesMaps hasAssignedGroup.name to a WebTMA repair center

Service Request Mappings

MappingRequired to sync Service RequestsDescription
Service Request StatusYesMaps Mapped requestStatus values to WebTMA status IDs
Service Request Repair CenterYesMaps isResponsibilityOf.name to a WebTMA repair center
Service Request TypeYesSelects the WebTMA request type used when creating Service Requests

For the enum-based mappings above, the UI supports:

  • enabling or disabling a mapping set
  • choosing a default value
  • applying the default only when no explicit mapping is found

Advanced Options

Required step: Open Settings and explicitly enable Work Order Polling and/or Service Request Polling for the record types you want to send to WebTMA. If a toggle is off, that entity type will not sync and backfill for that type is effectively disabled.

OptionDescription
Enable Work Order PollingSends eligible Mapped Work Orders to WebTMA
Enable Service Request PollingSends eligible Mapped Service Requests to WebTMA
Create a "Requested Action" entry for assets associated with Service RequestsAdds related asset details into the WebTMA request body for Service Requests
Use lookback (hours) on connector restart for graph queriesRe-reads a configurable recent window after restart
Import from WebTMA Source connectorReuses credentials and related settings from an existing source connector
BackfillSends historical Work Orders and/or Service Requests by date range or by specific Mapped graph IDs

Mapped Concepts

API to Mapped Entities

Sync directionMapped entity involvedWhat the connector writes back
Mapped → WebTMA Work OrderWorkOrderWebTMA Work Order identities in identities
Mapped → WebTMA Service RequestServiceRequestWebTMA Service Request identities in identities

Typical identities added after a successful sync include WebTMA record IDs and record numbers. These identities allow the connector to recognize records it already created and update them instead of creating duplicates.

WebTMA Destination identities. A WorkOrder has a Work Order ID and a Work Order Task ID from WebTMA it its ExternalIdentity values. A Service Request has a WebTMA Request ID in its ExternalIdentity values.

Sample Code

Query Work Orders

Read more about querying Work Orders in the Mapped Graph.

Request Response
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  workOrders(filter: {connectedDataSourceId: {eq: "your-connector-Id"}}) {
    id
    name
    exactType
    mappingKey
    dateCreated
    dateUpdated
    dateClosed
    jobPriority
    jobStatus
    jobType
    sector
    description
    summary
    hasAssignedGroup {
      name
    }
    isReportedBy {
      name
    }
    hasAssignee {
      name
    }
    isClosedBy {
      name
    }
    isCreatedBy {
      name
    }
    identities {
      ... on ExternalIdentity {
        __typename
        value
      }
    }
    relatesTo {
      ... on Building {
        id
        name
        exactType
        identities {
          ... on ExternalIdentity {
            __typename
            value
          }
        }
      }
      ... on Floor {
        id
        name
        exactType
        identities {
          ... on ExternalIdentity {
            __typename
            value
          }
        }
      }
      ... on Space {
        id
        name
        exactType
        identities {
          ... on ExternalIdentity {
            __typename
            value
          }
        }
      }
      ... on Thing {
        id
        name
        exactType
        identities {
          ... on ExternalIdentity {
            __typename
            value
          }
        }
      }
    }
  }
}