This code is attached to the CHG:Infrastructure Change form and compares field values in a Change Request with values in any entries found in BTI:TE:WS_TriggerConditions . If any match is found then code is triggered to push an entry into the form BTI:TE:WS_Interface which in turn will commence consumption of the TE task create web service.
The code has been written to run against an OOTB Change implementation. The execution order has been set to a range to try and ensure that it will also work in as many modified implementations as possible. However, if modifications have been made to the OOTB code, compatibility cannot be guaranteed and some modification may be necessary on a per customer basis.
The value in the Change Request number field (field ID 1000000182) of a given Change Request is used as the reference for the task that will be created in Transport Expresso. Because that reference must be unique in TE it is only possible to create a single task per Change Request in Remedy.
The tester id of the task is set to the Remedy user ID (field 1000003231) of the assignee in the Change Request record.