Business process terminating
Hi ,
I receive xml as incoming request , I convert that into HL7 in my business process class as below
Set tSC = $CLASSMETHOD("myDTL","Transform", .pRequest,.dtlRes)
then , I am sending the dtlRes which is a HL7 message to a router "TEST_ROUTER"
in the router , I am checking for HL7.{MSH:9.2} , where I am getting below error :
Terminating BP TEST_ROUTER # due to error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zevaluateRuleDefinition+15^TEST.SampleRule.1 *HL7,EnsLib.MsgRouter.RoutingEngine -- logged as '-' number - @' set tTempVars("test")=(pContext.HL7.GetValueAt("MSH:9.2"))'
below is my rule settings
.png)
Comments
Evidently there is an issue where you reference MSH:9.2, without details of your rule definition is virtually impossible to guess where the problem is.
How do you call TEST_ROUTER?
the error message seems to say that HL7 is not a property of context.
I recreated the Router and then worked as expected.
What is the class of config item ‘TEST_ROUTER’ ?
Maybe not EnsLib.HL7.MsgRouter.RoutingEngine, which exposes the HL7 property.