Redwood Documentation

Product Documentation

 

›Integration

RunMyJobsArchiving

Introducing

  • Introducing the Active Archive Module

Installation

  • Active Archive Installation
  • Configure the Database for Active Archive
  • Download and Extract scheduler-<version>-archive-win.exe
  • Configuring the Active Archive

Integration

  • Active Archive Module
  • Configuring Redwood Server for Active Archiving
  • Archiving chains or Processes
  • Process Definitions for Archiving
  • Substitution Parameters
← Archiving chains or ProcessesSubstitution Parameters →

Process Definitions for Archiving

Redwood provides the following process definitions for archiving, they are to be used to archive chains and processes which have reached a final state. The process definitions are written in RedwoodScript; you can create your own based on these to combine one or more of the archiving phases.

note

Active Archiving Server requires a specific license key.

Archive_Feeder_Configure

You use this process definition to set up a connection between Redwood Server and the Active Archive.

Parameters

ParameterDescriptionPurposeDirectionData TypeDefault Value
pServerServer NameAn optional name for the Active Archive for use within Redwood ServerInString

pServerURLServer URLThe URL to the Active Archive, for example http://archive.example.com:50200/archive-serverInString

pCatalogCatalogThe catalog you intend to use for archiving chains and processes, the default value is default when you install the Active ArchiveInString

pRootDirectoryFolderThe Folder to store the chains and processes inside the Active Archive catalogInString

pUsernameUsernameA username with sufficient privileges to publish in Active ArchiveInString

pPasswordPasswordThe password to the above user, it will be saved in encrypted form in a credential inside Redwood ServerInString

pArchivedJobNameThe default name for an archived job. The length of the evaluated string is limited to 255 characters and will be truncated to 255 characters if necessary.InString${JobDefinition} (${JobId})

pArchivedJobFileNameThe default name for an archived job file.InString${JobDefinition} (${JobId}) ${JobFile.Name}

pAllowDeleteUnarchivedAllow unarchived chains and processes to be deleted?If you set this to No, you will not be able to delete chains and processes that have not been archived, yet.InStringFalse

Archive_Feeder_Delete

You use this process definition to remove archived chains and processes, which have been verified as been archived, from Redwood Server.

Parameters

ParameterDescriptionPurposeDirectionData TypeDefault Value
pServerServer NameAn optional name for the Active Archive for use within Redwood ServerInStringFalse
pTestModeTest Mode?Do you want to perform a test run before actually deleting chains and processes?InStringFalse
pStartDateStartingRestrict the list of chains and processes to ones for which the deletion date is on or after this dateInDate Time ZoneFalse
pEndDateEndingRestrict the list of chains and processes to ones for which the deletion date is on or before this dateInDate Time ZoneFalse

Archive_Feeder_JobList

This process definition is used by Archive_Feeder_Process to do the actual archiving. The parameters are filled by Archive_Feeder_Process, you should not submit this job.

Archive_Feeder_Mark_DateStatus

This process definition allows you to mark chains and processes based on the deletion date and final status.

Parameters

ParameterDescriptionPurposeDirectionData TypeDefault Value
pServerServer NameAn optional name for the Active Archive for use within Redwood ServerInStringFalse
pOverwriteOverwrite?Do you wish to overwrite the archive status of the chains and processes?InStringFalse
pRecursiveRecursiveDo you want to include child chains and processes in the archive process?InStringFalse
pDeletionDateDeletion DateThe deletion date of the chains and processes to markInDate Time ZoneFalse
pStartDateStartingRestrict the list of chains and processes to ones for which the deletion date is on or after this dateInDate Time ZoneFalse
pEndDateEndingRestrict the list of chains and processes to ones for which the deletion date is on or before this dateInDate Time ZoneFalse
pStatusStatusInclude chains and processes of this statusInStringFalse

Archive_Feeder_Mark_Filter

This process definition allows you to mark chains and processes for archiving based on a chain filter; only chains and processes in a final state can be marked for archiving.

This process definition has a number of parameters that are identical the corresponding parameters of Archive_Feeder_Mark_DateStatus.

Parameters

ParameterDescriptionPurposeDirectionData TypeDefault Value
pJobFilterFilterThe chain filter to use for marking the chains and processes; note that only chains and processes in a final state can be markedInStringFalse

Archive_Feeder_Mark_SQL

This process definition allows you to specify an SQL query to select all chains and processes that you wish mark for archiving.

This process definition has a number of parameters that are identical the corresponding parameters of Archive_Feeder_Mark_DateStatus.

Parameters

ParameterDescriptionPurposeDirectionData TypeDefault Value
pSQLSQLInStringFalse

Archive_Feeder_Process

This process definition is used to perform the archival of chains and processes. It calls Archive_Feeder_JobList to perform the actual archiving.

ParameterDescriptionPurposeDirectionData TypeDefault Value
pArchiveTempArchive Temporary Directory on Redwood ServerInStringFalse

pBatchSizeBatch SizeHow many chains and processes do you want to archive in one batch? When you want to archive a great number of chains and processes, you might wish to split them up in batches. The optimal number of chains and processes per batch is very system-dependent and it depends on the performance of the central Redwood Server, the network, and the Active Archive.InNumberFalse
pQueueFallback QueueThe fallback queue to use if no queue has been specifiedInStringFalse
pUpdateIntervalUpdate IntervalHow often to update the JobList's status, default is every 10 chains and processes.InNumberFalse
pSucceededSucceededThe number of successfully archived chains and processesOutNumberFalse
pFailedFailedthe number of chains and processes that could not be archivedOutNumberFalse
pIgnoredIgnoredThe number of chains and processes that were ignored, for example, because they did not have a final statusOutNumberFalse

Archive_Feeder_Verify

This process definition verifies whether the chains and processes have been archived successfully.

See Also

  • Configuring Redwood Server for Archiving
  • Archiving Chains and Processes
← Archiving chains or ProcessesSubstitution Parameters →
  • Archive_Feeder_Configure
  • Parameters
  • Archive_Feeder_Delete
  • Parameters
  • Archive_Feeder_JobList
  • Archive_Feeder_Mark_DateStatus
  • Parameters
  • Archive_Feeder_Mark_Filter
  • Parameters
  • Archive_Feeder_Mark_SQL
  • Parameters
  • Archive_Feeder_Process
  • Archive_Feeder_Verify
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |