KB Article #168488
custom EDIFACT enveloping, how to...
Problem
-- mapping an inhouse message to an EDIFACT message (outbound flow)
-- trying to envelop the EDIFACT messages using a custom enveloper MBC
-- already tried different approaches but it failed :
Test1 :
- define the MBC as a map (if it is created as en enveloper, we cannot use it in a Document Service)
- create a created a related DS
- create a Messaging Profile EDIFACT and use the Document Service in a document profile
- create a Messaging Profile inHouse and use the Messaging Profile EDIFACT in "Messaging profile for enveloping"
Result : the custom enveloper is not executed. the default enveloper defined in the Messaging profile is executed instead
Test2 :
- define the enveloper MBC as an enveloper in a Processing Step
- create a new Messaging profile inhouse use the Processing Step in the "In-House" tab -> Enveloper
Result : the Processing Step is not executed
Resolution
There is no "native" to fulfill such requirement, but there are some possible workarounds :
1. re-set the detector attribute of the message to have format = inhouse, and after a new MP/DP match, we can use an inhouse MP to run our custom enveloper
or
2- use a copy map that outputs Inhouse as the initial step in the Document Service and then a Document step that runs the actual map. Then the output will still be treated as an Inhouse and you can use an custom inhouse enveloper for it