Partager via


Dynamic Updates in UCMA Workflows

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

Dynamic Updates In 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;
codeAcct.Activities.Add(act1);

See Also

Other Resources

UCMA 3.0 Workflow General Reference