Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Task Manager uses a config file to store the different tasks, and uses Windows Task Scheduler to trigger the actions. Tasks which are applied, are added to the Windows Task Scheduler and will be executed.

Tasks and actions

Trigger

Usage

Once

Trigger an action at a defined date and time.

Weekly

Trigger an action at a defined time at selected days of the week, every week.

Montly

Trigger an action at a defined time at selected days of the month, every month.

Disabled

Disable triggers. Used when a first task triggers start of a second task., then second task has trigger: Disabled. An alternative is to set second task trigget to Once and the data to past time.

Action

Usage

Import

Start an import in import storage. All import folders according to the selection and not previously imported will get imported.

Publish

Run publish. Only publications which has a label will be possible to run in the Task Manager.

Cleanup

Clean up content in import folders to save disk space.

General

Version 5.1 and later allows to start sql scripts using task manager.

Usage

The function is started using the Task menu option under Tools menu.

...

Import tasks are defined in two steps.

  1. Select source folders to scan for imports that have not yet been imported. By default only one folter exist, but import.config may be used to define several source folders. This can be useful when several different systems export the same kind of data.

  2. Select what to import from these folders. The options will correspond to all installed transformers as defined in import.config.
    It is possible to select multiple transforms and the order of import will be from top to bottom. Change order by using the Up and Down buttons.

...

Publish

Publish tasks are defined by checking a list. All checked publications will be processed in the order top to bottom. Change order by using the Up and Down buttons.

Info

Create LogicalIdentity (Label) in the publication repository by editing directly in the cell, the property panel do not show this attribute

...

General tasks

In version 5.1 and later it is possible to start General tasks. Select Action tab and then General tab and select an action. By default undefined will be selected as an option in action dropdown. General task with undefined action can not be saved and it will result a validation error. That will be reminder for the user to select a proper action.

...

In import.config the different sources are defined. There are two options to differentiate between different systems exporting the same data.

  1. Each system export to a separate folder. In this case define <Sources> to set the paths to these locations.

  2. Each system export to the same folder, but uses different folder name. In this use the Source attribute in the TransformerSettings tag.

Code Block
languagexml
<XmlConfig>
    <!-- Default path to look for imports -->
	<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
	<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
	<StyleSheetsBasePath>C:\ProgramData\Signifikant\Assert</StyleSheetsBasePath>

	<Sources>
        <!-- Define a path where system1 exports its files -->
        <!-- These options will appear in the "Select sources" area of import screen -->
		<ImportSource name="System1">
			<ExportBasePath>C:\Signifikant\SourceSiegen\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\SourceSiegen\Import</ImportBasePath>
		</ImportSource>
        <!-- Define a path where system2 exports its files -->
        	<ImportSource name="System2">
			<ExportBasePath>C:\Signifikant\SourceBPCS\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\SourceBPCS\Import</ImportBasePath>
		</ImportSource>
	</Sources>

	<InitialItemStatusList/>
	<ImportSetting/>

	<TransformerSettingList>
		<TransformerSetting Name="Documents" TransformType="SignifikantSimplifiedXml">
			<StylesheetPath>C:\ProgramData\Signifikant\Assert\Customize</StylesheetPath>
			<FolderRegex>System1_Document_</FolderRegex>
			<SequenceNumber>1</SequenceNumber>
			<BatchSizeMB>2</BatchSizeMB>
			<BatchCounter>0</BatchCounter>
			<EnableEditExistingSpecificationTypes p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance" />
			<Options/>
		</TransformerSetting>
	
        <!-- Source for Documents SSX import is System3. The option will appear in 
             quick selection dialogue to make it easy to import data from system 3. -->
		<TransformerSetting Name="Documents" TransformType="SignifikantSimplifiedXml" Source="System3">
			<StylesheetPath>C:\ProgramData\Signifikant\Assert</StylesheetPath>
			<FolderRegex>Documents_System3|Documents_SYSTEM3</FolderRegex>
			<SequenceNumber>2</SequenceNumber>
			<BatchSizeMB>10</BatchSizeMB>
			<BatchCounter>10</BatchCounter>
			<EnableEditExistingSpecificationTypes p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance" />
			<Options/>
		</TransformerSetting>

        <!-- Source for Documents SSX import is System4. The option will appear in 
             quick selection dialogue to make it easy to import data from system 4. -->
		<TransformerSetting Name="Documents" TransformType="SignifikantSimplifiedXml" Source="Siegen">
			<StylesheetPath>C:\ProgramData\Signifikant\Assert</StylesheetPath>
			<FolderRegex>Documents_System4|Documents_SYSTEM4</FolderRegex>
			<SequenceNumber>3</SequenceNumber>
			<BatchSizeMB>10</BatchSizeMB>
			<BatchCounter>10</BatchCounter>
			<EnableEditExistingSpecificationTypes p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance" />
			<Options/>
		</TransformerSetting>
    </TransformerSettingList>
</XmlConfig>

...

Filter by label (Content by label)
page
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ecd09
showSpacefalse
sortmodified
showSpacetypefalsepage
reversetruetype
labelsimport publish task automation automatic scheduled clean
cqllabel in ( "scheduled" , "automation" , "clean" , "task" , "publish" , "import" , "automatic" ) and type = "page" and space = "ASKB"labelsimport publish task automation automatic scheduled clean
Page Properties
hiddentrue

Related issues