Skip to content

Upgrading to 2.2

This release provides a clear schedule activation button for a scheduled limetype. It is possible to assume status of the schedule by looking at the button's label. Deactivating a schedule by this button, removes the possibility of running it. The activate toggler button is also removed. Technical requirements can be found in the technical section.

In Lime Admin:

  1. Change the scheduledtodo views:
    1. Remove the inactive property from the object card.
    2. Add the lwc-limepkg-scheduled-limeobject-schedule-change-status web component to the object card.

Upgrading to 2.1

This release adds the option to create of history notes with a summary of created limeobjects. Technical requirements can be found in the technical section.

In LISA:

  1. Add a relation from the schedule lime type to the history lime type.

In Lime Admin:

  1. Configure the new options for the add-on.

Upgrading to 2.0

This release contains several breaking changes. Complete the steps below to upgrade from 1.x to 2.0

If you have installed this package as a part of Lime Work Order, use the upgrade steps in that package's documentation instead.

Limetype updates

The limetype for schedules now requires three more properties to always be present:

  • Starttime
  • Endtime
  • Numberofdays

The package no longer uses this property:

  • Startdateplusduration

The details for these can be found is in the technical section.

Note: As version 1.0 was just a preview, there is not any migration of data. This is the responsibility of the project manager.

Scheduled Task

There is now a scheduled task included in the package which is set to run every hour, this task runs as user task@scheduledlimeobject. If this user doesn't exist, it won't be able to run.

  1. In LISA, create the task@scheduledlimeobject user with the following settings:
    • Password: Type a really long nonsense password. Do not store it anywhere (it is not needed).
    • Active: No
    • Type: Integration
    • Login: LIME PRO Authentication (default in Cloud)
  2. Since the previous release relied on a scheduled task being setup in the customer solution that one needs to be removed now:
    • Open the file <solution-mycustomer>/<solution_mycustomer>/tasks/__init__.py
    • In the register_scheduled_tasks(): method remove the scheduled task that executes task=run_scheduled_limeobjects

New required configuration

The package now supports and recommends that the webclient is used for setting up schedules.

In Lime Admin,

  1. Configure the views for the scheduledtodo limetype.
    1. Add the web-component lwc-limepkg-scheduled-limeobject-schedule-editor-button to the object card.
    2. Add the web-component lwc-limepkg-scheduled-limeobject-schedule-run-now-button to the object card.
    3. The following properties must be present and editable on the object card: active
    4. The following properties should not be present and must not be editable on the object card: startdate, until, starttime, endtime, numberofdays
    5. The following properties should be present but not editable on the object card: rruledescription, lastcreated
  2. Configure the views for the scheduledtodoparameterset limetype.
  3. Configure the templating language for the add-on.

Actionpad

The LBS application scheduled_limeobject_scheduleeditor has been updated to a new version. Install and publish it using the normal means.

Back to top