Listening for Activity Closed Events
Amanda
Amanda
for (int child = 0; child < this.EnabledActivities.Count; child++)
{
Activity branch = this.EnabledActivities[child] as Activity;
if (null != branch)
{
// Now register a callback to be notified when the child has closed
branch.RegisterForStatusChange(Activity.ClosedEvent, this);
}
}
base.execute(executionContext);
where my Activity also implements the listener interface, but it seems that only my first item in my workflow gets executed.
Amanda