I'm trying to pull data from a database using the Table Query step. I set up getting my information for the parameters using the following C# code block.
string filename = context.Data.GetProperty("zip", "Filename");
string storeid = filename.Substring(0, 4);
context.Data.SetProperty("RW", "StoreID", storeid);
context.Data.SetProperty("RW", "CompanyID", "2");
I then set up my parameters as:
ParameterName: @companyid
SelectionType: MessageProperty
SelectionValue: RW.CompanyID
ParameterName: @acctunit
SelectionType: MessageProperty
SelectionValue: RW.StoreID
When I run the process I get the following error:
A message with a binary payload cannot be processed in a query process step
Any ideas out there?
Tags:
Hello. if you are using the zip Process step, it will encode the message as binary file. I think that's a restriction. What you could do is save the current message (assuming you want the zip file) as a context property, then create a new empty message, call the query step.
if you can provide more information about what you're doing, or provide the process, we can certainly get this working.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by