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<stri ng, objectdicParame ters = new
Dictionary<stri ng, object>();
dicParameters.A dd("OidInvoice" , aInvoice.Oid);
WorkflowRuntime workflowRuntime = new
WorkflowRuntime ();
{
InvokeWorkflowA ctivity objInvk = new
InvokeWorkflowA ctivity();
ManualWorkflowS chedulerService scheduler =
workflowRuntime .GetService<Man ualWorkflowSche dulerService>() ;
WorkflowInstanc e instance =
workflowRuntime .CreateWorkflow (typeof(Workflo wInvoice),
dicParameters);
if (scheduler != null)
{
scheduler.RunWo rkflow(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 1084
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<stri ng, objectdicParame ters = new
Dictionary<stri ng, object>();
dicParameters.A dd("OidInvoice" , aInvoice.Oid);
WorkflowRuntime workflowRuntime = new
WorkflowRuntime ();
{
InvokeWorkflowA ctivity objInvk = new
InvokeWorkflowA ctivity();
ManualWorkflowS chedulerService scheduler =
workflowRuntime .GetService<Man ualWorkflowSche dulerService>() ;
WorkflowInstanc e instance =
workflowRuntime .CreateWorkflow (typeof(Workflo wInvoice),
dicParameters);
if (scheduler != null)
{
scheduler.RunWo rkflow(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 next to fill the association form, the form will be closed directly and the following error is mentioned:
The following location is not accessible, because it is in a different site collection...
|
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 it possible to host such a
workflow in a windows service and to have a configuration file that can be
used to configure the start time?
Or should I use a general scheudling component (like the one provided
with the OS) to start the workflows at...
|
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 Runtime>.AddService(trackingService);
trackingService.IsTransactional = false;
trackingService.UseDefaultProfile = true;
This works just fine.
|
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 workflow need to
write in some OID. When I start 2 workflows on the same machine the
second thread need to wait for the first one to finish and after that
continue work. This works OK. The problem is when I have to start 2
workflows on different...
| |
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 are
running SQL Server 2005, SQL Server 2003, and Access. Is there a way I
could get data from my system (with SQL Server 2005) to another system
(that may be running 2005, 2003, or Access) without affecting my data
or SharePoint workflow? I want...
|
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 time. If I can, how can I resolve them properly?
Please note that, on the web.config file, if I add the assembly pointing it to one of the versions, then this is the version that the system will use at runtime.
Similarly, on the persisted...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |