All objects that are processed in Goobi as part of the whole range of digitisation workflows, and that as such have their own individual progress status, can be viewed in the Processes
area. First, click on the menu item Workflow – Processes
in the menu. Goobi will now display a list of all the processes you are authorised to view. If you are a Goobi administrator (as in the screenshot below), you are authorised to view all the processes being managed in Goobi.
If you are not an administrator but are authorised to Goobi manager level, you will have been assigned to specific projects. In Process view, you will only be able to display those processes you are authorised to access through your membership of those projects.
The number of hits listed in the table of processes is determined by each individual’s user configuration. In the diagram shown above, for example, you can see the number of rows in the table is limited to ten. In order to display more processes, you would need to move to the next page using the page function below the table.
You can use the simple checkbox filters above the table to quickly filter the results displayed by Goobi or to show processes that are hidden by default. By way of example, an administrator can select the checkbox Show deactivated projects
above the process table to display all the processes that were previously hidden because the corresponding project has been deactivated. Using the checkbox Show finished processes
, you can display all the processes that belong to active projects but have already completed every step in their workflow. By default, if neither of these checkboxes is selected, Goobi will only show processes that are currently being processed as part of the workflow, i.e. completed processes and deactivated projects are excluded by default.
If you want to filter the list of processes displayed by Goobi still further (e.g. because the list of processes is too large), you can enter your own filter in the Filter processes
input box. The options available to you here are very comprehensive and are explained in detail in section Searching processes. As an alternative to this filter function, you can perform a search by selecting the menu item Workflow - Find process
in the menu. This will open a detailed filter dialogue box where you can fine-tune your search using a combination of properties, processes, task status, etc. This method of filtering using the Find process
dialogue box translates your search request into a search filter string as described in section Searching processes.
After using a particular filter, if you wish to save it for future use, you can store it in the list of pre-defined filters. To do so, once you have entered the filter string, simply click on the save symbol next to the drop-down list of pre-defined filters. If you wish to reuse any of your pre-defined filters on a future occasion, simply choose it from the drop-down list to enter the filter string automatically in the Filter
input box. To update the list of results using that filter, press the enter key or click on the reload symbol next to the Filter
input box. The list of hits is automatically updated in the Processes window.
Each of the different columns in the table can also be sorted, allowing you, for example, to list the processes in ascending or descending order depending on the process name or status or the project to which it belongs.
You can adjust the way how the processes are displayed in tabular form. You can include other columns in the table, e.g. the identifier and the date on which the process was created. You can also add selection boxes that allow the user to select individual processes for batch actions. If you choose this option, you will be able to activate a checkbox in each row of the process table. This means that you can then apply any of the actions to those processes whose checkboxes are activated rather than to the whole set of filtered processes or to the processes listed on the current page.
You can also view the workflow details for each process by clicking on the Process title
. This allows you to check the current status of individual steps of the workflow. Goobi will display a small summary view of the selected process indicating the current status of each workflow step for that process. If you hold the cursor over the small square coloured symbols to the right of each workflow step, you will see a brief overview indicating which users have previously worked on that step and when.
As well as the options described above allowing users to edit or amend each volume independently of the current status of the workflow and to process its structure data or metadata or re-export the data to the presentation system, with Goobi you can also apply different actions to a whole group of processes. These actions are applied to all of the processes displayed in the table. If you want to restrict the change or action to a particular selection of processes, you will need to filter the list accordingly. To do so, simply use the Filter processes
box, the list of predefined filters or Goobi’s search function to list only those processes you wish to edit.
Once you have adjusted the list of processes to meet your requirements, you can apply the available actions (shown underneath the process table) to that list. For each action, you can also choose whether to apply the action to the entire set of matches (i.e. all the filtered processes) or just to the processes listed on the page of the table that is currently being displayed. You will be prompted to make this selection when you click on one of the available actions.
The table below contains a description of each possible action.
If you need even more detailed information about a process, click on the first symbol in the Actions
column for that process. This will open the detailed view window for that process with a number of options for specific purposes. You can also perform other actions for each process. Details of these possible actions can be found in the Actions
column for each process. Some of the possible action symbols will not be activated if the status of the process does not yet permit that action to be performed. You cannot, for example, generate a pdf for a process if it does not yet contain any images. In such cases, the Generate PDF
symbol will be deactivated.
The following options are available for each process in the Actions
column:
It is important to note that all of the possible actions offered by Goobi can be performed for individual processes or a number of processes together regardless of their current status. This allows users with manager-level or administrator-level authorisation to access and if necessary amend the data for specific processes at any time.
If you want to search for specific processes, you can use Goobi’s extended search function. To do this, select the menu bar option Workflow – Search for volume
.
In order to conduct a finely tuned search, Goobi’s Search for volume
dialogue box uses a filter syntax that makes it possible to identify the requested processes on the database.
The above diagrams show how a search is performed in Goobi using its internal search syntax based on the search details entered in the dialogue box. The search syntax generated by Goobi can be seen in the filter box Find processes above the table and can be extended to include additional parameters. It is also possible to save a search in case it is needed on future occasions. It will then appear in the drop-down list of pre-defined filters and can be executed at any time.
Below you will find an explanation of the background filter syntax. This is useful because manually combining the search parameters described below allows you to perform more detailed searches than is the case simply using the dialogue box. The following table contains a description of some typical search filters and how they work.
Note: The operators <
and >
are interpreted in the background as less than or equal to
and greater than or equal to
. For example, searching for processdate>2022
will list all processes whose creation date is 2022 and later.
As you can see from the examples given above, it is possible to conduct some very complex filter-based searches by combining a wide range of parameters. Unlike the simple filters you can apply in the dialogue box, by using the correct filter syntax you can use the same parameters more than once with different values for a single search (e.g. to simultaneously retrieve both completed workflow steps and others that are still in progress).
All the parameters listed above can be combined with each other as required. Please note, however, that any parameters containing a blank space should be written inside double quotation marks.
Icon | Description |
---|---|
**Icon | Description of action for the selected process** |
---|---|
Filter syntax | Description of function |
---|
ab | Filter to display all processes from all projects that contain |
-ab | Filter to display all processes that do not contain |
ab -abc | Filter to display all processes that contain |
a?c | Filter to display all processes that contain |
a*c | Filter to display all processes that contain |
meta:Shelfmark:123 | Filter to display all processes with the condition that the metadata item |
meta:Author:Mustermann | Filter to display all processes with the condition that the metadata item |
"meta:Author:Max Mustermann" "meta:Author:John Doe" | Filter to display all processes for which both the authors |
meta:index.Person:Mustermann | Filter to display all processes that contain the value |
meta:*:123 | Filter to display all processes that contain the value |
-meta:Shelfmark:* | Filter to display all processes that have no |
batch:3 | Filter to display all processes allocated to the |
-batch:3 | Filter to display all processes which are not allocated to the |
journal:intranda | Filter to display all processes that contain the word |
project:sample_project | Filter to display all processes from the project |
"project:sample project" | Filter to display all processes from a project where the project name contains |
ab project:sample_project | Filter to display all processes from the project |
ab -abc "project:sample project" | Filter to display all processes from the project |
"-project:sample project" | Filter to display all processes that do not belong to the project |
stepDone:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepOpen:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepInFlight:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepInWork:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepLocked:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepDeactivated:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepError:7 | Filter to display all processes from all projects for which the workflow step with the sequential number |
stepDone:4 stepLocked:7 | Filter to display all processes for which at least workflow step |
stepInWork:Imaging | Filter to display all processes for which a workflow step with the name |
stepDone:Export "project:sample project" | Filter to display all processes belonging to the project |
"id:17 18 19" | Filter to display all processes with the internal Goobi |
template:123 | Filter to display all processes for which the |
template:shelfmark:123 intranda | Filter to display all processes for which the |
workpiece:intranda | Filter to display all processes for which the property of the associated |
workpiece:Artist:intranda | Filter to display all processes for which the workpiece property |
workpiece:Artist:intranda process:shelfmark:123 "project:sample project" stepDone:Imaging 456 | Filter to display all processes from the project |
processproperty:Font:fra | Filter for all processes whose |
project:Berlin |project:London | OR-Search for all processes whose |
"project:Palma de Mallorca" "|project:New York" | OR-Search for all processes whose |
"meta:TitleDocMain:1801" "|meta:TitleDocMain:1802" | Or search for all processes whose |
processdate=2021 | Search for processes whose |
processdate!=2021 | Search for processes whose |
"processdate<2020-01-01 12:00:00" | Search for processes whose |
processdate>2020-01-01 processdate<2020-12-31 | Search for processes whose |
stepdone:Scanning stepfinishdate:2021 | Search for workflow steps with the title |
stepstartdate:2021 | Search for workflow steps whose processing started in |
stepdone:Scanning "stepdone:Quality control" stepfinishdate:2021 | Search for workflow steps |
stepdone:Scanning stepfinishdate>2021-08-01 stepfinishdate<2021-08-31 | Search for workflow steps |
stepDone:Scanning processdate=2021 |processdate=2022 | Searches for processes that are created in the year 2022 or contain steps |
stepDone:Scanning (processdate=2021 |processdate=2022) | Searches for processes that contain steps |
Export metadata to Document Management System (DMS)**: Click this action if you want to export the filtered processes to the presentation system. Please note that this export can take much longer because of the huge volume of data that your selection may contain. When you export data in this way, Goobi will copy both the images and the METS file to the target location configured for the project.
Set status of processes up:** Select this action to change the workflow status of a group of processes. Every time you click this action, the status of each of the processes in the group will be advanced by one level for the current workflow step. For example, steps that already have the status In progress
will be set to Completed
and the next tasks in the workflow will move from Locked
to Open
. Every time you click this action, you are therefore moving the workflow forward by one step.
Set status of processes down:** This action changes the workflow status in the same way as the action Set status of processes up
(see above). The workflow status of all the individual process tasks will be reversed (i.e. set back) by one level compared to their previous status. This allows you to edit the status of a large number of processes at the same time.
Execute GoobiScript:** If you click on the action Execute GoobiScript
, you will be shown a list of different scripts that can be applied to the group of processes you have selected. A detailed description of the possible GoobiScripts is given in section GoobiScript.
Export search results:** This action opens a further area in which you can save the results of a search and the actual search. In each case, you can specify the information you want to include in the search results. The results can be saved as an Excel, Word, rich text or PDF file. You can use Goobi’s central configuration file to specify the columns to be made available in each case.
Calculate number of metadata and images:** Click on this action if you want to instruct Goobi to calculate how many structure data, metadata and images are already present in the system for the filtered volumes. Goobi will display a listing of the processes in both graphical and numerical form indicating their size. The listing will also contain a summary table containing average and total figures.
Statistical analysis:** Clicking on this action instructs Goobi to generate different statistical analyses based on the filtered processes. You can select from a wide range of statistics.
Open detailed view for the process and edit workflow steps, physical source, workpiece and associated properties.
Open the METS Editor for the selected process to amend the structure data, metadata and pagination.
Generate a link on the current user’s work drive
: This involves creating a link for the selected process on your own work drive that permits you to access the images for that process. This allows the administrator to access the associated process files at any time regardless of the current status of the process, in order, for example, to review or amend them.
Remove link from work drive
: Once you have finished editing or viewing the data for a specific process, any link can be removed from the user’s work drive to prevent any further access to the process data.
Generate docket
: A docket is generated whenever a process is first created. Should it be necessary to generate another docket at a later stage, this can be done here at any time. If you click on this symbol, Goobi will prompt you to download a pdf file that you can print out and use for whatever purposes may be required.
Generate METS file
: This option allows you to generate a full METS file for a specific process outside the normal workflow. When you click on the symbol, Goobi will create and store a METS file on your work drive.
Generate PDF
: This option allows you to create a pdf file for a specific process. Depending on your configuration, Goobi will either store the pdf directly on your work drive or prompt you to download it. Depending on the status of the process, a pdf file generated in this context will contain either just the images entered for that process or may also contain structural information. If structure data and metadata have already been recorded for that process using the METS Editor, they will also be included in the pdf. In such cases, the pdf file generated by Goobi will contain a linked index of contents.
Export to the Document Management system
: Using this symbol you can re-export a specific process to the configured presentation system regardless of its workflow status. This involves exporting the assigned digital objects (mostly images) and the METS file to a designated directory within the project that is responsible for transfers to the presentation system. Once you have completed the export process, Goobi will display a message to indicate that the export has been successful (or failed) with information about the status of the export.
When you apply an action to a group of processes, you also have an option to run Goobi scripts within that action. To do so, click on the button Execute GoobiScript
in the Possible actions
box. Goobi will display an overview of all the scripts that can be applied to the entire list of processes, to the processes listed on the current page or just to a selection of processes.
For every GoobiScript, you need to enter the name of the script you wish to run as well as the corresponding parameters. These parameters are shown when you click on the script in the list. Replace the parameters shown as examples with your desired settings.
After completing the GoobiScript, you can now apply it to selected hits or the entire hit list. Before the execution, however, a security query appears in which the number of operations to which the GoobiScript should be applied must first be confirmed again.
Please note that you may not have access to all the GoobiScripts that Goobi offers. Some of the GoobiScripts may be hidden. Your user group may also not have been granted access to all GoobiScripts. A more detailed explanation of how to assign permissions to GoobiScripts can be found here:
The lines starting with a hash #
form comments for help purposes. They can also be omitted before submitting the GoobiScript. Accordingly, the GoobiScript is a bit more compact afterwards:
Thanks to the change to the new syntax, it is now also relatively unproblematic to have several GoobiScripts started together. Note that each GoobiScript is separated from the previous GoobiScript by the ---
character. This way you can easily combine several commands and start them together. This could look like this, for example:
Here, too, the commas can be omitted accordingly for a shortened application, so that the entire call becomes clearer:
The processing of such multiple GoobiScripts takes place after sending in the order of the naming in each case over all affected processes. Related to this example this means, if 3 processes are concerned the following processing:
Please avoid starting additional GoobiScripts unless other GoobiScripts are already being processed. Otherwise, the processing of Goobi scripts may be interrupted. This limitation will be fixed in future versions of Goobi workflow.
You can choose from the following Goobi scripts:
The GoobiScript addUser
allows you to add a new user to a specific workflow step. Before you apply this Goobi script, you should ensure that you have the correct login name for the user you wish to add to that step. You also need to check the exact name of the step to which you want to add a new user. For the parameter steptitle
you should select the name of the step to which you want to add the new user.
The GoobiScript addUserGroup
is similar to addUser
, as it gives additional user rights for workflow steps. For the parameter steptitle
, enter the full name of the step to which you want to add a user group, and for the parameter entitled group
enter the exact name of the user group you wish to add for that step.
The GoobiScript cloneProcess
allows the duplication of one or more Goobi processes. The parameter content
can be used to specify whether only the database contents and the METS file should be copied or whether all the associated directories (e.g. the images) should also be duplicated. The parameter title
can be used to control the titles of the processes to be created. The variable system of Goobi is used here and thus allows a high degree of flexibility.
The GoobiScript renameProcess
allows you to rename a process or several Goobi processes. A search string is defined with the search
parameter, the new value with replace
and the search method with type
(defined values contains
- the search value should be contained in the process title - or full
- the process title must match the search value exactly). Both the task title in the workflow and the image directories of the process in the file system are renamed.
For the GoobiScript deleteTiffHeaderFile
there is no need to enter additional parameters. Running this GoobiScript will delete any previously created TIFF header files that can be used by a program that writes the TIFF headers into the images. This allows you, for example, to make centrally modified TIFF headers available for future use, since missing TIFF header files are automatically created on the basis of the configuration the next time the file is accessed.
The GoobiScript swapSteps
allows you to swap the order of two steps within the workflow of a number of processes. To perform a swap, you need to provide the details of each of the steps involved. Enter the workflow number and full name of the first and second step. Running this script will then swap the order of the steps you have specified. This makes it very easy to change workflows across a large number of processes.
The GoobiScript importFromFileSystem
imports existing image sets from a defined output directory into processes that have already been created in Goobi. This can be useful if you want to import projects into Goobi that were created before Goobi was installed. Please note that all the image directories within the specified output directory must have the same name as the processes in Goobi. An automatic import from the file system can only be performed correctly if the folder name and process title are identical. For the parameter entitled sourcefolder
, you need to specify the location of the individual directories containing the processes you wish to import.
The GoobiScript setRuleset
allows you to make a central change to the Goobi ruleset for a group of processes. This could be particularly important after detailed editing and testing of a ruleset (for safety reasons this is performed separately in a newly created ruleset), if you then wish to apply the new ruleset to the processes. For the parameter entitled ruleset
, you need to specify the name of the ruleset using the name as it appears in the ruleset list in Goobi. The newly assigned ruleset will be entered when you run the GoobiScript, regardless of which ruleset is currently in place for the individual processes being changed.
You can run the GoobiScript deleteStep
if you want to delete a specific step from the workflow for a group of processes. Running the script will delete the workflow step (specified by its full name in the parameter steptitle
) from the list of selected processes. Please note that this GoobiScript will also delete any production-related data being stored for that particular workflow step (e.g. project staff, processing date, status).
The GoobiScript entitled addStep
allows you to automatically create a new step with a specific name and a specific position in the workflow order. For the parameter steptitle
, enter the name of the new step, and for the parameter order
enter the required workflow order number. In addition to numerical values, the keyword end
can also be used to add the step to the end.
The GoobiScript addStepAtOtherStepPosition
enables the creation of a workflow step with a defined title at a defined position within the workflow where another workflow step is already located. By inserting the new workflow step, all existing workflow steps with this or a subsequent position are moved so that the new workflow step can be inserted at the desired target position. The parameter newsteptitle
allows you to define the title for the new workflow step to be inserted. The parameter existingsteptitle
defines the name of the workflow step that determines the target position of the step to be inserted. The parameter insertionstrategy
defines whether the new step is to be inserted before (before
) or after (after
) the specified existing step.
You can choose the GoobiScript setStepStatus
to modify the workflow status for a group of processes at the same time. For the parameter steptitle
, you need to enter the name of the workflow step whose status you wish to change. For the status parameter
, you should enter the required numerical value using the system:
Using the GoobiScript setStepNumber
you can modify the workflow order number of an individual step for a group of processes. For the parameter steptitle
you need to enter the full name of the workflow step you wish to change. For the number
parameter you should enter the workflow order number you want to apply to that step for all the selected processes.
The GoobiScript addShellScriptToStep
allows you to add shell scripts or other command-line calls to designated workflow steps in a group of processes. For the parameter steptitle
you need to specify the full name of the steps you wish to change. For the script
parameter, enter the full command that you wish Goobi to execute in the form of a command-line call whenever this step is activated.
Please note that shell commands at Linux level begin with /bin/bash/
.
In the parameter label
you define the name for the shell script.
If parameters are to be grouped in the command so that they are passed as one argument to the new process, the quotes required for this must be escaped with a preceding quote each. An example for the script
parameter would be accordingly:
script: /bin/bash /path/to/script.sh "parameter with blanks"
You can use the Goobi script setStepProperty
to set individual options for a specific workflow step in a group of processes at the same time. For the parameter steptitle
, you should enter the full name of the step you wish to select. For the property parameter
, you will need to select one of the following values:
You should also set the value of the actions you have specified here to activated or deactivated by entering the values true
or false
for the value parameter..
Sample: For example, if you select Scanning
as the steptitle
, writeimages
as the property
and true
as the value
and apply this GoobiScript to a group of processes, this will allow a user who accepts the step entitled Scanning
to have write access to the images in his/her working directory for that step.
The GoobiScript export
allows you to export a large number of processes. The parameters exportImages
and exportOcr
can be used to specify whether the associated images and OCR data should be exported. If an export plugin has been configured in the workflow, that plugin will be loaded and used for the export; if not, Goobi will run the default export.
Using the GoobiScript runScript
, you can initiate a script for a particular workflow step outside the regular workflow. The parameter steptitle
is used to enter the full title of the workflow step whose scripts you wish to run.
If the workflow step contains a number of scripts, you can specify which one you wish to run using the script
parameter. If this parameter is left blank, all the scripts for that workflow step will be run in the specified sequence.
As the name suggests, the GoobiScript deleteProcess
is used to delete processes. You have to use the parameter contentOnly
(value true
or false
) to specify whether Goobi should delete only the data from the file system or, additionally, all the information from the database.
The GoobiScript addPluginToStep
allows you to add plugins to workflow steps. You can use the parameter steptitle
to specify the name of the workflow step and the parameter plugin
for the identifier of the plugin that you wish to add.
The GoobiScript updateImagePath
updates the path to the image files within the METS files. No parameters are required to run this GoobiScript.
The GoobiScript updateContentFiles
updates the list of all image files within the METS files. No parameters are required to run this GoobiScript.
The GoobiScript addToProcessLog
allows adding messages to the process log. The type
parameter determines how the message should be classified. The message
parameter specifies the content of the message.
The GoobiScript setProject
allows you to assign the selected tasks to a defined project. The parameter project
specifies which project should be used for this.
The GoobiScript runPlugin
allows the execution of a step plugin for the selected tasks. The parameter steptitle
determines the step of the affected tasks from which the plugin is to be executed.
The GoobiScript import
is not intended for execution by users from the user interface. Instead, it is started during the execution of mass imports from the selected plugin. It then performs a mass import in the form specified in the import plug-in. The parameter plugin
defines the unique name of the plugin. The identifiers
parameter determines which identifiers the data records have that are to be imported. The parameter template
determines which production template is to be used for the import.
The GoobiScript metadataDelete
allows you to delete metadata from a process. The field
parameter specifies the type of metadata, where the internal rule set name must be used. The value
parameter defines the content of the metadata. The parameter ignoreValue
determines whether the content of the parameter value is to be ignored and whether the metadata is to be deleted independently of its value. The parameter type
can be used to control whether the metadata to be deleted are present as normal metadata, whether they occur within a named metadata group, or whether an entire metadata group is to be deleted. The parameter group
allows the naming of the group concerned. The following application scenarios apply:
If metadata
is given as value within type
(or no value is given) and no name is given within the parameter group
, a normal metadata is deleted.
If metadata
is specified as the value within type
(or no value is specified) and a name is specified within the parameter group
, the metadatum is changed within the named group.
If group
is specified as the value within type
, the group named within the parameter field
is deleted.
The parameter position
allows you to specify where the metadata should be found:
Sample calls:
Delete a metadata entry on top level:
Delete a metadata entry on top level, but the current value should be ignored
The GoobiScript metadataAdd
allows you to add new metadata to a process. The field
parameter defines the type of metadata, where the internal ruleset name must be used. The value
parameter defines what content the new metadata should contain. The parameter ignoreErrors
determines whether, in the event of an error, the processing and saving of the METS file should be continued or the processing for the object should be aborted. The parameter type
can be used to control whether the change is to be made to a simple metadata or within a metadata group. The parameter group
defines the metadata group to which the metadata is to be added. The following application scenarios exist:
If metadata
is given as value within type
(or no value is given) and no name is given within the parameter group
, the metadata is added as normal metadata.
If metadata
is given as the value (or no value is given) and a name is given within the group
parameter, a metadata is added to the named group.
If group
is specified as the value, a new metadata group is created with the name specified within the group
parameter.
The parameter position
allows you to specify where the metadata should be added:
Any authority data can also be added using the authorityName
and authorityValue
parameters.
Sample calls:
Adding a metadata entry on top level:
Adding a metadata entry on second level:
Adding a metadata entry with authority data:
The GoobiScript metadataReplace
allows you to replace a metadata with a new value. The old value is thus replaced by another value and is therefore no longer available. The field
parameter determines which type the metadata has, whereby the internal ruleset name must be used here. The search
parameter defines the current content of the metadata. The replace
parameter defines which content the metadata is to have instead. The parameter group
specifies whether the change is to be made within a metadata group. If no value is given here, the change is made to a normal metadata. If, on the other hand, a value is given, the change of the metadata takes place within the named metadata group. The parameter position
allows you to specify where the metadata to be replaced should occur and be replaced:
Any authority data can also be added or changed using the authorityName
and authorityValue
parameters.
Sample calls:
Search for a value within a certain top-level metadata and replace it with something else:
Find a value within a certain second level metadata and replace it with something else:
The GoobiScript metadataReplaceAdvanced
allows replacing a metadata with a new value. In contrast to metadataReplace
, regular expressions can be used here to manipulate values. The field
parameter determines what type the metadata has, whereby the internal ruleset name must be used here. The value
parameter defines a regular expression that is applied to the content of the metadata. The parameter group
specifies whether the change is to be made within a metadata group. If no value is given here, the change is made to a normal metadata. If, on the other hand, a value is given, the change of the metadata takes place within the named metadata group. Any authority data can be added or changed using the authorityName
and authorityValue
parameters.
Sample calls:
Finding a value within a specific top-level metadata and replacing it with something else:
The GoobiScript metadataChangeValue
allows the manipulation of existing metadata of a process. Prefixes or suffixes can be added to an existing metadata to extend the content of a metadata. The field
parameter specifies the type of metadata, where the internal ruleset name must be used. The content of the prefix
parameter is used to prefix a text with the current value of the metadata. The content of the parameter suffix
is used to append a text after the current value of the metadata. The parameter group
specifies whether the change is to be made within a metadata group. If no value is given here, the change is made to a normal metadata. If, on the other hand, a value is given, the change of the metadata takes place within the named metadata group. The parameter position
allows you to specify where the metadata should be present and adjusted:
Sample calls:
Add a prefix to a top-level metadata::
Add a suffix to a top-level metadata, but there must be a specific value in the metadata:
Add a prefix and suffix to a second-level metadata:
The GoobiScript metadataChangePersonType
changes the role type of a person. The call requires four parameters. The oldType
parameter specifies what the old type should be, and the newType
parameter specifies the type that the person should receive instead. The parameter ignoreErrors
determines whether, in the event of an error, processing and saving of the METS file should continue or whether processing should be aborted for the object. The parameter position
, on the other hand, controls where the person should be present to be changed:
The GoobiScript metadataChangeType
changes the type of a metadata. The call requires four parameters. The oldType
parameter specifies the old type of the metadatum. The newType
parameter specifies the new type for the metadata. The parameter ignoreErrors
controls whether, in case of an error, the processing and saving of the METS file should be continued or whether the processing for the object should be aborted. The parameter type
can be used to control whether the change is to be made to a simple metadata or within a metadata group. The parameter group
defines the metadata group for which the metadatum is to be changed. The following application scenarios exist:
If metadata
is specified as value within type
(or no value is specified) and no name is specified within the parameter group
, a normal metadata is changed.
If metadata
is specified as the value within type
(or no value is specified) and a name is specified within the parameter group
, the metadata is changed within the named group.
If group
is specified as the value within type
, the type of the named group is changed from the old value (oldType
) to the new value (newType
).
The parameter position
allows you to specify where the metadatum should occur so that it is affected by the change:
The GoobiScript changeProcessTemplate
allows you to change the workflow for the affected processes. The templateName
parameter defines which production template is to apply to the operations. If this GoobiScript is applied to processes, Goobi tries to set the steps already performed to the identical status in the updated workflow if possible. This can only succeed if the steps have the same titles.
The GoobiScript updateDatabaseCache
ensures that the internal database table of the Goobi database is updated with the status of the workflows and the associated media files as well as metadata. This is important if, for example, the metadata has been modified outside of Goobi, or if a new index field has been defined. Among other things, various statistics are based on these database tables and therefore require as up-to-date values as possible for the visualization of information.
No parameters are required to run this GoobiScript.
The GoobiScript propertySet
allows you to add and change a process property. The parameter name
specifies the name of the property. The value
parameter specifies the value that the property should have. If a property already exists with the name specified here, its value is changed to the value specified here.
The GoobiScript propertyDelete
allows the deletion of process properties. The parameter name
specifies the name of the properties to be deleted.
The GoobiScript executeStepAndUpdateStatus
executes a selected step and then updates the workflow for further processing of the following work steps. The steptitle
parameter determines which step is to be executed. After the call, Goobi checks whether this is a script step, an export step, a plug-in step or an HTTP step and executes it accordingly. If the work step is marked as automatic, the further workflow process is continued after the execution. If, on the other hand, the call triggers a wait mode, the status is not changed by Goobi but waits for a status change by the respective plugin or script itself. If an error occurs while the started step is being executed, the status of the workflow step is set to error
.
The GoobiScript exportDatabaseInformation
exports all database contents of the selected Goobi operations to an internal XML file. This is then located in the Goobi file system within the process folder and has a file name that can be used to import the data into another Goobi instance. The path of such a file is e.g.
No parameters are required to run this GoobiScript.
With the GoobiScript moveWorkflowForward
the status of the workflow can be moved forward step by step. Each time this GoobiScript is executed, the active workflow step is changed accordingly (e.g. from open
to in work
).
With the GoobiScript moveWorkflowBackward
the status of the workflow can be moved backwards step by step. Each time this GoobiScript is executed, the active work step is changed accordingly (e.g. from completed
to in work
).
The GoobiScript setPriority
can be used to define the priority of individual or all process steps. The parameter priority
determines which priority
should be used. The following values are available: standard
, high
, higher
, highest
and correction
. The parameter steptitle
determines for which workflow step the priority is to be set. If the parameter steptitle
is not specified, the priority is changed for all workflow steps of the selected processes.
The syntax for using GoobiScript is based on the . This allows each GoobiScript to have built-in documentation with small help texts and the individual parameters are visually clear with syntax highlighting. Each parameter is placed on its own line and separated from its value by a colon and a space. Contrary to earlier versions of Goobi, values for parameters containing spaces are now also possible within GoobiScript without having to enclose them in quotes. A simple GoobiScript is structured exemplarily like this:
Parameter | Description |
---|
Possible types | Description |
---|
Position | Description |
---|
Position | Description |
---|
Position | Description |
---|
Position | Description |
---|
Position | Description |
---|
Position | Description |
---|
| for changing the metadata property |
| for changing the property whether a reading access to the images should be possible |
| for the property whether a write access to the images should take place. |
| for the property whether a validation should take place when the workflow step is completed |
| for the property whether the workflow step should be able to perform an export to the presentation system |
| for the property whether the workflow step should be executed together with all other workflow steps in batch mode |
| for the property whether the workflow step should be executed automatically |
| for the property whether a file upload should be used for the import in this workflow step (Please note that this function is no longer used in Goobi). |
| for the property whether the workflow step should be accepted directly without action and closed again (Please note that this function is no longer used in Goobi) |
| for the property whether a module of a work step should be accepted and executed and the workflow step should also be completed immediately. (Please note that this function is no longer used in Goobi). |
| for the property whether the step should execute a script |
| for the property whether this workflow step is a delay workflow step that should wait a configured time |
| for the property that the internal database index is to be updated in this workflow step |
| for the property whether the user should be able to download a docket in this workflow step |
| Internal system messages, primarily for administrators |
| Information messages that every user should be able to see |
| Warning messages that every user should see |
| Error messages that every user should see |
| User comments that users enter visibly for all other users |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |
| This parameter can be used optionally to specify a condition for the replacement of metadata. If this parameter is used and the given value is not empty, the replacement is applyed to all data sets that contain the text given here in the previor metadata field. |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |
| This parameter specifies that the metadata should be adjusted at the level of the physical work. This selection automatically chooses the main element (e.g. a monograph) or, in the case of an anchor record, the sub-element (e.g. the periodical volume). |
| This parameter specifies that the metadata should be adjusted at the level of the sub-element of an anchor record (e.g. a periodical volume or volume). |
| This parameter specifies that the metadata should be adjusted at the level of the anchor record (e.g. at the level of a journal or a multi-volume work). |
| This parameter specifies that the metadata should be adjusted at all levels of the object (e.g. in the volume, in all chapters, title pages, illustrations, etc.). |
| This parameter specifies that the metadata within the physical structure elements should be adjusted (e.g. metadata of the individual pages). |