Scheduled Notification Subscription Rule

ScheduledNotificationSubscriptionRule (Rule)

Element properties:

TargetProvance.ITAM.ItamCoreWorkflowTarget
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Scheduler Default
WA WriteAction Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction Default

Source Code:

<Rule ID="ScheduledNotificationSubscriptionRule" Enabled="true" Target="Provance.ITAM.ItamCoreWorkflowTarget" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemLibrary!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Days">1</Interval>
<!--<Interval Unit="Minutes">10</Interval>-->
<SyncTime>03:00</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="MicrosoftSystemCenterSubscriptions!Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction">
<Subscription>
<EnableBatchProcessing>false</EnableBatchProcessing>
<WindowsWorkflowConfiguration>
<AssemblyName>Provance.ServiceManager.Itam.Workflows</AssemblyName>
<WorkflowTypeName>Provance.ServiceManager.Itam.Workflows.ScheduledNotificationSubscriptionWorkflow</WorkflowTypeName>
<WorkflowParameters>
<WorkflowParameter Name="SubscriptionType" Type="string">Contract Expiration Notification</WorkflowParameter>
</WorkflowParameters>
<RetryExceptions/>
<RetryDelaySeconds>60</RetryDelaySeconds>
<MaximumRunningTimeSeconds>1500</MaximumRunningTimeSeconds>
</WindowsWorkflowConfiguration>
</Subscription>
</WriteAction>
</WriteActions>
</Rule>