Solved

How to return value from state machine workflow step to host application

Posted on 2008-10-15
2
365 Views
Last Modified: 2013-11-08
Hi,
    I am developing a state machine workflow in .net 3.5. ASP.net application is the host application. I am raising events from host applications to workflow .I am passing parameters to workflow through eventargs. But,how can i return a value from workflow step to host application .I want to return value back to application before workflow completes.
0
Comment
Question by:HimagiriV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
StasL earned 500 total points
ID: 22751185
Hi HimagiriV,

One way to achieve what you ask is by using the Call External Method activity, which basically invokes a method of some outer-world (non workflow) object with a specified parameter. Although it may sound simple, the implementation requires that you go through some steps. These steps however, are pretty straightforward.

Try reading the following MSDN page:
http://msdn.microsoft.com/en-us/library/ms734791(VS.85).aspx
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question