Use Case 8: Customizing inbound BOD
Scope: Mongoose ReplDoc-based
Category: Low Code
Tier: OB
Notes: OB - additive extensibility - no merging requirements
Perform these steps:
- Create BodOnReceive Event Handler.
- Enter Handler description. (Example: Post ReplDoc Process Sales
Order)
Enter Applies To Objects (format BODVerb.BODNoun) (Example: Process.SalesOrder)
- Choose other handler options
- Active (during development, disable. Remember to enable when testing or live)
- Can Override: enabled
- Synchronous – enabled
- Enter Handler description. (Example: Post ReplDoc Process Sales
Order)
- Create Event Actions.
- Action Sequence: 10
- Action Type: Extract XML Collection
- Action Description: Extract elements
- Edit Parameters
- XML Template: XML representing incoming BOD
- XML: BODXML() keyword instructing AES to substitute incoming BOD
- Path: XPATH of elements to be parsed
- Property Map: maps XPATH elements to result set properties
- Result Set Assignment: name of in-memory table discard after event adjourns used to store extracted property values
- Action Sequence: 20
- Action Type: Set Values
- Action Description: Extract values to variables
- Edit Parameters
- Name/Value pairing of VariableName to Values. Use P3 keyword to extract value (collection name, index, property name). It is acceptable to use 1 for index if extracting only header elements.
- Action Sequence: 40 (can be consecutive number 30)
- Action Type: Load IDO Row
- Action Description: Lookup ReplDoc created record
- Edit Parameters
- IDO: Name of IDO
- Properties: List of properties (including property used to filter)
- Filter: define "where" clause using SUBSTITUTE keyword of key property(s)
- Output: variable
- Action Sequence: 50
- Action Type: Update Collection
- Action Description: Update IDO with extracted values
- Edit Parameters
- Update From IDO: Enabled
- IDO: name of IDO
- Properties: Name/Value association to set property values and filter IDO to be updated