Neuron ESB User Network

The Service Bus for the Connected Business

Business Process: Unable to Set Table Query Command property in code

I'm trying to dynamically set the "Command" property of the "Table Query" step and it does not appear to be accepting the values.

This is the command in the C# code step immediately preceding the "Table Query" step:

context.Data.SetProperty("sql","Command","EXEC IntegrationAPI.upGetCompaniesFull @i_bitIsGBCompany=1, @i_vchCompanyName='log'");

In the "Table Query" it has "Bindings" and I was able to successfully use an environment variable with the same value as above but the only problem is that the environment variable is static.

I need to be able to dynamically define this "Command".

Can you tell me how to do this? I read all the "Help" material, searched all the forums and haven't found an answer.

Tags: Query, TABLE

Views: 183

Replies are closed for this discussion.

Replies to This Discussion

you can find all the updated documentation for the Process designer here: http://www.neuronesb.com/neuron/Help3/Development/Developing_Neuron...

you'll find that if you go into the process step reference guide section, each step will be documented.  in the step section, there is a "Dynamic Configuration" section that lists all the dynamic properties supported. 

Command is not currently supported as a dynamic property.

however, you could accomplish a dynamic command using the ODBC process step....a bit more work though

I would like to put in a request to have the "sql.Command" string dynamically configurable via C# for the Table Query step in a Business Process.  Is this a possibility?

ha ha...anything is possible.  let me see what I can do..   will probably put it in our 3.6 release..

Thank you for updating 3.5.4.1240 with this dynamic functionality.  It works great!! ;)

As a follow-up, I'd like to request a "future" (nice-to-have) feature that allows for the dynamic setting of the  "Root Node Name" and "Row Node Name".

Thank you!

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service