Dynamic Updates in UCMA Workflows

Dynamic updates are not supported for Microsoft Unified Communications Managed API (UCMA) workflow projects.

Code like the following may work at design time, but at runtime may generate an error like this: “This is an invalid design time operation. You can only perform the operation at runtime”.

WorkflowChanges changes = new WorkflowChanges(this);
Activity1 act1 = new Activity1();
CompositeActivity codeAcct = changes.TransientWorkflow.GetActivityByName("sequenceActivity1") as CompositeActivity;