Błąd czasu wykonywania modułu Windows Workflow 4.0

Microsoft.SystemCenter.WindowsWorkflow40Module.FailedRuntime (Rule)

Ta zasada generuje alerty w razie błędów czasu wykonywania modułu Windows Workflow 4.0.

Knowledge Base article:

Podsumowanie

W module Windows Workflow 4.0 wystąpił błąd czasu wykonywania.

Przyczyny

Błąd czasu wykonywania modułu Windows Workflow 4.0 może wystąpić z jednej z następujących przyczyn: Wykonywanie trwało dłużej niż wynosi skonfigurowany limit czasu. Kolejka usługi Windows Workflows jest zajęta przez inne przepływy pracy i upłynął maksymalny czas oczekiwania. Wystąpił problem podczas zapisywania danych konfiguracji stanu, logowania lub postępu. Możliwe też, że nastąpiło zupełnie nieoczekiwane zdarzenie.

Rozwiązania

Jeśli czas wykonywania był dłuższy niż skonfigurowana wartość limitu czasu, spróbuj zmienić ten limit i uruchom ponownie moduł Windows Workflow.

Jeśli moduł Windows Workflow wygasł z powodu wypełnienia kolejki, sprawdź system, aby ustalić, jakie inne moduły Windows Workflow znajdują się w kolejce, a następnie ponownie uruchom ten moduł.

Jeśli wystąpił problem podczas zapisywania danych konfiguracji stanu, logowania lub postępu bądź zupełnie nieoczekiwane zdarzenie, sprawdź konfigurację agenta lub serwera zarządzania, upewnij się, że środowisko .NET Framework 4.0 jest zainstalowane, i uruchom ponownie moduł Windows Workflow.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Błąd czasu wykonywania modułu Windows Workflow 4.0
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.WindowsWorkflow40Module.FailedRuntime" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Id$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">22505</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">22506</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">22507</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">22508</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.WindowsWorkflow40Module.FailedRuntime.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>