Error on re-opening an incident: "Attempt to write to attribute BreachTime of a read-only IncidentManagement.Incident lifecycle object..."

Version 1

    Problem

     

    When re-opening an incident from the Closed or any other read-only status you are presented with the following error message:

     

    "Attempt to write to attribute BreachTime of a read-only IncidentManagement.Incident lifecycle object. When a lifecycle object reaches a read-only status they cannot be modified except through a lifecycle action."

     

    Solution

     

    This will occur if you have the Breach Time attribute on your incident window.  Whilst this attribute's main use is on queries you can have this attribute on the window too as long as you add a checkbox to the field.  To do this use the following steps:

     

    1. Open the relevant incident window within Windows Manager.

    2. Select the Breach Time field on the window and go to the Properties panel.

    3. If the DateTime Display Type property is blank set this to DateTime which will enable an extra property we need for the next step.

    4. Set the Date CheckBox property to True.

    5. Save the window.

     

    What this change does is add a checkbox to the Breach Time field on the window whcih will be ticked on unticked depending on if a value is set or not.  This makes the attribute more useful anyway because when there is no value set it will display the current date/time which may be confusing.