Solved

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

Posted on 2008-10-15
2
366 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 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