Adding external service

Hi,

I have a custom activity which I need to add to the workflow at runtime

I use the WorkflowChanges class to do that. If the activity uses a custom service, can this be registered at the time of adding the activity dynamically or should this be done upfront Is it possible to add external services to the workflow at runtime

Thanx,

-Madhura



Answer this question

Adding external service

  • WinFormsUser13232

    You'd have to stop and start the workflow runtime to add a service. So either add it before the first call to StartRuntime or call StopRuntime - AddService - StartRuntime before you make the dynamic change.

  • Adding external service