Solved

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

Posted on 2008-10-15
2
360 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now