Hi All,
i have console application which will be running , Here i will be
adding 3 services for 3 workflows, now my asp application will be
calling 1 work flow, in particular event i have to call the 2nd work
flow., i have the code in the event as below,
Invoice aInvoice = (Invoice)xpcInv[0];
Dictionary<string, objectdicParameters = new
Dictionary<string, object>();
dicParameters.Add("OidInvoice", aInvoice.Oid);
WorkflowRuntime workflowRuntime= new
WorkflowRuntime();
{
InvokeWorkflowActivity objInvk = new
InvokeWorkflowActivity();
ManualWorkflowSchedulerService scheduler =
workflowRuntime.GetService<ManualWorkflowScheduler Service>();
WorkflowInstance instance =
workflowRuntime.CreateWorkflow(typeof(WorkflowInvo ice),
dicParameters);
if (scheduler != null)
{
scheduler.RunWorkflow(instance.InstanceId);
}
instance.Start();
But this is just going to the second work flow, but its not firing the
events inside.
Can anybody guide me to solve this prblem
Thnx&Rgds,
Sreeraj 1 1074
Hello in*******@gmail.com,
Which event do u have and as I understand that event (if its only HandleEvent
activity) must be arised outside to be run
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Hi All,
i have console application which will be running , Here i will be
adding 3 services for 3 workflows, now my asp application will be
calling 1 work flow, in particular event i have to call the 2nd work
flow., i have the code in the event as below,
Invoice aInvoice = (Invoice)xpcInv[0];
Dictionary<string, objectdicParameters = new
Dictionary<string, object>();
dicParameters.Add("OidInvoice", aInvoice.Oid);
WorkflowRuntime workflowRuntime= new
WorkflowRuntime();
{
InvokeWorkflowActivity objInvk = new
InvokeWorkflowActivity();
ManualWorkflowSchedulerService scheduler =
workflowRuntime.GetService<ManualWorkflowScheduler Service>();
WorkflowInstance instance =
workflowRuntime.CreateWorkflow(typeof(WorkflowInvo ice),
dicParameters);
if (scheduler != null)
{
scheduler.RunWorkflow(instance.InstanceId);
}
instance.Start();
But this is just going to the second work flow, but its not firing the
events inside.
Can anybody guide me to solve this prblem
Thnx&Rgds,
Sreeraj This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: C |
last post by:
Hi,
Does Microsoft have a product that integrates with Visual Studio .NET that
can be used to develop Web based Workflows for Business Process scenarios?
Thanks.
|
by: bernadet |
last post by:
Hi all,
I am deploying a workflow to a sharepoint server. the workflow is implemented in visual studio 2005 and has 2 infopath forms.
when adding the workflow to a document library and clicking...
|
by: Jonas Knaus |
last post by:
Hi there
I am very new to the Workflow Foundation and I am wondering if the WF
has built-in scheduling components. I would like to have a workflow that
starts every day at 2pm as an example. Is...
|
by: =?Utf-8?B?R3JhaGFt?= |
last post by:
I've added 2 tracking services to the wf runtime; one is the standard
SqlTrackingService:
trackingService = new
SqlTrackingService(<trackingConnectionString>);
<workflow...
|
by: Dan Pavel |
last post by:
Hi,
I did not used Mutex before and I need now.
I have an application that control some workflows on different machines.
I use SNMP for that.
The problem is that the thread used for starting an...
|
by: billlucarell |
last post by:
I am a beginner with SQL Server and SharePoint. I am trying to migrate
the database to other servers that may be running different
platforms. I know that the other servers have SharePoint so they...
|
by: sept2008 |
last post by:
I made two strong-named libraries, test.dll, versions 1.0.0.0, and 2.0.0.0, from the exact same source. I put them in the GAC area. I would like to know whether I can use both of them at the same...
|
by: vineetbindal |
last post by:
How can i make a project in visual studio for workflows.
Do i have to download sharepoint or something else?
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |