Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Icons and Colors for Terms 3 32
Get Client IP on RDS - VB.NET 15 44
Javascript to set controls visibility 5 32
VB.Net Report Printing Issue 3 31
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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

786 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