adding the HandleExternalEvent to the windows workflow tab in the toolbox


Badge +11

hi


i created a new workflow project, dragged the default server event (WF) on the canvas, select the server event , right click and from the menu select view code--> eventItem.


hover over the toolbox to view the windows workflow controls, notice that the handleExternalEvent is missing.


how to add the HandleExternalEvent to the windows workflow tab in the toolbox


 


 


3 replies

Badge +11
Some Workflow Foundation events, like that one, are not allowed.  The K2 Host Server needs to manage the lifetime of the workflow process, hydrating and dehydratng it when appropriate.  Some WF events would interfere with K2's management of the process.  When using .NET WF activities, you should only use ones that can be executed as a single unit of work within one K2 activity.
Badge +11
thats what i want to know in the first place; thanks for this magnificent answer
Badge +8

David,


Can you elobarate more on this

Reply