The Business Process Automation (BPA) module handles the technical configuration layer of OTM — workflows, notifications, outbound integrations, reports, and transmission logging. The tables below are useful when troubleshooting agent behaviour, auditing integration traffic, or diagnosing report failures.
Contacts:
A Contact in OTM defines a communication endpoint — an email address, fax number, or integration URL — that OTM can reach when sending notifications or outbound data. Contacts can be associated with:
Contact tables:
External System:
An External System defines an outbound destination — typically a middleware platform (Oracle SOA, MuleSoft, webMethods) or any system that receives GlogXML transmissions from OTM. An Out XML Profile is associated to control which fields are included in the outbound XML.
Agents:
Agents are OTM’s workflow engine — event-driven rules that trigger actions automatically when business events occur (e.g. ORDER CREATED, SHIPMENT TENDERED, STATUS UPDATED). Agents can use standard OTM events or custom events defined by developers. They are covered in detail in the Agents topic.
Agent tables:
Sample query — search for specific text within agent action parameters:
SELECT aad.*
FROM agent_action_details aad,
agent ag
WHERE UPPER(aad.action_parameters) LIKE UPPER('%TEXT TO SEARCH%')
AND aad.agent_gid = ag.agent_gid
AND ag.is_active = 'Y'Sample query — find all active agents that raise a specific custom event:
SELECT a.agent_gid,
a.description,
aad.action_sequence
FROM agent a,
agent_action_details aad
WHERE a.agent_gid = aad.agent_gid
AND a.is_active = 'Y'
AND aad.agent_action_gid IN ('RAISE EVENT', 'FOR EACH')
AND aad.action_parameters LIKE '%custom event text%'Reports:
OTM reports are built using SQL and BI Publisher. Report development is covered in detail in the Report Development topic.
Report tables:
Sample query — find the Shipment ID from a report output file name:
SELECT rlp.parameter_value
FROM report_log_parameter rlp
WHERE rlp.file_name = '<output file name>'
AND rlp.parameter_name = 'P_SHIPMENT_ID'Integration:
Every inbound and outbound transmission in OTM is logged in the integration tables — including the raw XML, processing status, and any error details. These tables are the first place to look when troubleshooting a failed transmission.
Sample query — fetch error details for a failed transmission:
SELECT it.i_transmission_no,
il.i_transaction_no,
DBMS_LOB.SUBSTR(il.i_message_text, 200) AS error_message
FROM i_transaction it,
i_log il
WHERE it.insert_date > SYSDATE - 1
AND it.i_transmission_no = <Enter Transmission No>
AND it.element_name = 'ShipmentStatus'
AND it.transaction_code = 'I'
AND it.status = 'ERROR'
AND it.i_transaction_no = il.i_transaction_noWhat’s Next:
The next topic covers Basic OTM Configurations — starting with Domain Items, Locations, and Equipment Groups — the foundational setup every OTM implementation requires before planning and tendering can begin.
Next Topic: Basic OTM Configurations — Domain Items, Locations and Equipment