Sync Workflow Data Source

Microsoft.SystemCenter.TfsWISync.SyncWorkItems.Rule.DataSourceType (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.SimpleScheduler Default
ReadAlerts ProbeAction Microsoft.SystemCenter.TfsWISync.SyncWorkItems.ReadAlerts.ProbeActionType Default
UpdateWorkItems ProbeAction Microsoft.SystemCenter.TfsWISync.SyncWorkItems.UpdateWorkItem.ProbeActionType Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval Seconds
DeltaInHoursint$Config/DeltaInHours$Delta In HoursDelta In Hours

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.TfsWISync.SyncWorkItems.Rule.DataSourceType" Accessibility="Internal" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DeltaInHours" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="DeltaInHours" Selector="$Config/DeltaInHours$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime/>
</DataSource>
<ProbeAction ID="ReadAlerts" TypeID="Microsoft.SystemCenter.TfsWISync.SyncWorkItems.ReadAlerts.ProbeActionType">
<TargetId>$Target/Id$</TargetId>
<Url>$Target/Property[Type="Microsoft.SystemCenter.TfsWISync.TfsServer"]/Url$</Url>
<!-- Next configuration added to make it reload with UpdateWorkItem probe as we send init package only on load -->
<UserName>$RunAs[Name="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount"]/UserName$</UserName>
<Domain>$RunAs[Name="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount"]/Domain$</Domain>
<Password>$RunAs[Name="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount"]/Password$</Password>
<DeltaInHours>$Config/DeltaInHours$</DeltaInHours>
<Links>$Target/Property[Type="Microsoft.SystemCenter.TfsWISync.TfsServer"]/Links$</Links>
</ProbeAction>
<ProbeAction ID="UpdateWorkItems" TypeID="Microsoft.SystemCenter.TfsWISync.SyncWorkItems.UpdateWorkItem.ProbeActionType">
<DeltaInHours>$Config/DeltaInHours$</DeltaInHours>
<Url>$Target/Property[Type="Microsoft.SystemCenter.TfsWISync.TfsServer"]/Url$</Url>
<Links>$Target/Property[Type="Microsoft.SystemCenter.TfsWISync.TfsServer"]/Links$</Links>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="UpdateWorkItems">
<Node ID="ReadAlerts">
<Node ID="Scheduler"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
</DataSourceModuleType>