Microsoft KB Archive/926497

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:33, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


A CAG may not respond when it is used in a parallel activity in Windows Workflow Foundation

Article ID: 926497

Article Last Modified on 11/24/2006



APPLIES TO

  • Windows Workflow Foundation




SYMPTOMS

When using a Conditioned Activity Group (CAG) in a parallel activity, the Workflow may appear to hang and the CAG Activity never completes.

CAUSE

This problem occurs because the CAG incorrectly checks the status of all activities.

When you use the CAG in a parallel activity, there may be some active activities in other branches. When the CAG receives a cancellation event, the CAG checks all the children that include active activities in other branches. However, the cancellation messages for the active activities in the other branches will never come. Under these circumstances, the CAG may not respond.

WORKAROUND

To work around this problem, do not use a CAG in a parallel activity.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Keywords: kbtshoot kbprb KB926497