Cireson Asset Management Notice Event Workflow

Cireson.AssetManagement.Workflows.NoticeEvent.Workflow (Rule)

Processes Notice Events. This workflow should be run at least once per day (including weekends), close to midnight or before the working day starts. The schedule may be changed here if this is affecting server performance, or if the workflow is required to run more often. Disabling this workflow will prevent all Notice Event emails from being sent.

Element properties:

TargetMicrosoft.SystemCenter.SubscriptionWorkflowTarget
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
SchedulerDS DataSource System.Scheduler Microsoft.SystemCenter.DatabaseWriteActionAccount
Cireson.AssetManagement.Workflows.NoticeEvent.Workflow.WA WriteAction Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction Default

Source Code:

<Rule ID="Cireson.AssetManagement.Workflows.NoticeEvent.Workflow" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.SubscriptionWorkflowTarget" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>System</Category>
<DataSources>
<DataSource ID="SchedulerDS" RunAs="SystemCenter!Microsoft.SystemCenter.DatabaseWriteActionAccount" TypeID="System!System.Scheduler">
<Scheduler>
<WeeklySchedule>
<Windows>
<Daily>
<Start>2:00</Start>
<End>2:00</End>
<DaysOfWeekMask>127</DaysOfWeekMask>
</Daily>
</Windows>
</WeeklySchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Cireson.AssetManagement.Workflows.NoticeEvent.Workflow.WA" TypeID="SystemCenter1!Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction">
<Subscription>
<WindowsWorkflowConfiguration>
<AssemblyName>Cireson.AssetManagement.Workflows</AssemblyName>
<WorkflowTypeName>Cireson.AssetManagement.Workflows.ProcessNoticeEvents</WorkflowTypeName>
<WorkflowParameters/>
<RetryExceptions/>
<RetryDelaySeconds>60</RetryDelaySeconds>
<MaximumRunningTimeSeconds>18000</MaximumRunningTimeSeconds>
</WindowsWorkflowConfiguration>
</Subscription>
</WriteAction>
</WriteActions>
</Rule>