Scripts for missing activities
Instructions for Collect Activities v1 and Collect Activities 2012 v1:
The script Collect Activities v1 and Collect Activities 2012 v1 is used to find all affected activity backlinks and if necessary collect the corresponding activities in a predefined admin tool.
Variables:
- @collect :
- true : Broken activities will be collected in the @target admin tool.
- false : Information on the affected activity backlinks will be printed to the tracer, but activities will not be added to @target.
- @target : COO address of the admin tool where the identified broken backlinks will be added to.
- @range :
- false : All possibly affected activities in the system will be checked.
- true : Only possibly affected activities in the date range between @start and @end will be checked.
- @start : Beginning of the date range.
- @end : End of date range. To ensure the correct analysis this should be set to at least 2 hours in the past.
- @fetchsize : Number of objects to be fetched per search.
Downloads Collect Activities
- For Fabasoft Folio or Fabasoft eGov-Suite 2013 and upwards use: Collect_Activities_v1
(SHA1: F1590359360D2C0631EDF7871C4D3A7869653730) - For Fabasoft eGov-Suite 2012 and Fabasoft eGov-Suite 2012 Sp1 use: Collect_Activities_2012_v1
(SHA1: 3CE84D78F6C565A8C1B12B5BFE9231CE8DCD7961)
Instructions for Fix Activities:
The script Fix Activities v4 is used to fix affected activity backlinks.
During the process the following rules apply:
- Activities that reference ghosts have to be reassigned manually and will not be processed.
- Activities where the automatic fix fails will remain in the @source admin tool. If the automatic reassignment fails multiple times, a manual check is necessary.
- If an activity doesn't require any action it will be moved to the @oknc admin tool.
- Activities that have been fixed successfully will be moved to the @ok admin tool.
Variables:
- @change :
- true : Commit changes to the activities from the @source admin tool.
- false : Print proposed changes to the tracer.
- @source : COO address of the source admin tool activities will be read from.
- @ok : COO address of the admin tool fixed activities will be added to.
- @oknc : COO address of the admin tool that unchanged, but correct activities will be added to.
Download Fix Activities
- For all versions use: Fix_Activities_v4
(SHA-1: DF46936301F0D23016622B33464BEE9055D295A2)
Script for leftover activities
Instructions for Remove Completed Activities:
The script Remove_Completed_Activities_v1 is used to remove activity backlinks that are left over from users/groups/positions/organisational units.
Variables:
- @change :
- true : Commit changes to the activities from the @source admin tool.
- false : Print proposed changes to the tracer.
- @userschk/@groupschk/@positionschk/@orunitschk :
- true : Use the accordant query to check users/groups/positions/organisation units.
- false : Do not check this type.
@verbose:
- true : List unaffected but checked objects
- false : List only affected objects.
Download Fix Activities