<PROPERTY DOES NOT EXIST>

Primary tabs

Hi,

I am using IRIS for Windows (x86-64) 2019.1.1

I have.

1. Created a BS with SQL Inbound Adapter which successfully connects and gets rows from DB .


2. Created a request message is populated with results of SQL query.

 

3  Created a BP with HL7 Router + Routing Rule + Transformation + Send to Target (BO).

 

4 . Created BO sending HL7 to file.

 

i am getting the following error.

ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnRequest+1^EnsLib.MsgRouter.VDocRoutingEngine.1 *DocType,Test.SQLtoHL7Req -- logged as '-' number - @''

What am i missing

Thanks.

Replies

The error suggests that the object received by the VDocRoutingEngine is not a VDoc. Try using EnsLib.MsgRouter.RoutingEngine instead.

From a sql inbound adapter, if you call a hl7 routing engine, it will get the request message you set it up in your service, but not hl7 which has DocType. As marc said ,you need to user the general routing engine and check for properties of your request class there.

OK

so i changed to EnsLib.MsgRouter.RoutingEngine

and have created a rule and DTL with source = SQLtoHL7Req and target= EnsLib.HL7.Message(2.6:ADT_A01)

What do you mean by "check for properties of your request class there."?

Thanks

In condition if you type

Document. 

 (Don't miss the period) 

It should show you list of all your request properties to choose from.

Hi,

in DTL condition?

what i have now is a DTL with left side my message  and right side a EnsLib.HL7.Message.

i drag relevant fields from left to right.

where would i need to use Document.  ?

am getting error <CLASS DOES NOT EXIST>zdoOneAction+25^EnsLib.MsgRouter.RoutingEngine.1

Thanks for all help!