Пример #1
0
        protected internal virtual void handleExternalTaskIncident(MigratingInstanceParseContext parseContext, IncidentEntity incident)
        {
            MigratingExternalTaskInstance owningInstance = parseContext.getMigratingExternalTaskInstanceById(incident.Configuration);

            if (owningInstance != null)
            {
                parseContext.consume(incident);
                MigratingIncident migratingIncident = new MigratingIncident(incident, owningInstance.TargetScope);
                owningInstance.addMigratingDependentInstance(migratingIncident);
            }
        }