Windows Workflow and sql script in declarative config like InRule
Posted
by Satish
on Stack Overflow
See other posts from Stack Overflow
or by Satish
Published on 2010-04-06T21:18:14Z
Indexed on
2010/04/06
21:23 UTC
Read the original article
Hit count: 559
We have been using InRule for our Rule needs we have found that it does not scale well and so are investigating the Windows Work Flow. Within InRule we could configure pretty much have any task for example our sql scripts and stored procedures where all part of a separate rule config file, I am wondering if there is a similar functionality within windows work flow where I could just call a declarative task and pass it a bunch of parameters – This task should contain the sql script I would be executing , we should be able to change the script at runtime without recompilation to the WF code. Is this possible in Windows Work flow – How can I accomplish this within work flow. Additionally for sql execution within Work Flow, how does it get the connection string. Should it be passed from the calling program – is passing it as input parameter from the Calling app via the Dictionary object the best way or can the work flow code have visibility to my calling program app.config and get the connection string ?
© Stack Overflow or respective owner