Skip to main content
Skip table of contents

VidiControl Migration 25.3 [Prep GEN]

Updated Events

In order to get an action whenever a switch command was not successfully, the content of the Swp08Router.switchFailed event needs to be updated. This is done automatically on new installations, but has to be done manually (e.g. via the VidiControl Configuration page) when updating existing installations to 25.3.

The new content should look like this, where the “createAction”-part is the new one:

JSON
[
  {
    "action": "notifyClient",
    "input": {
      "TimeStamp": "{-{Placeholder_TimeStamp}-}",
      "ChunkId": "{-{Placeholder_ExternalChunkId}-}",
      "UpdateNeeded": false,
      "MessageType": "{-{Placeholder_MessageType}-}",
      "Emitter": "{-{Placeholder_Emitter}-}",
      "Severity": "Error",
      "Message": [
        {
          "Lang": "en_US",
          "Text": "Switch failed from inport {-{Placeholder_InportLabel}-} to outport {-{Placeholder_OutportLabel}-}"
        },
        {
          "Lang": "de_DE",
          "Text": "Schaltung fehlgeschlagen Eingang {-{Placeholder_InportLabel}-} zu Ausgang {-{Placeholder_OutportLabel}-}"
        }
      ]
    }
  },
  {
    "action": "createAction",
    "input": {
      "ExternalAffectedObjectId": "{-{Placeholder_ExternalChunkId}-}",
      "AffectedObjectType": "Chunk",
      "ActionType": "SwitchFailed",
      "Emitter": "{-{Placeholder_Emitter}-}",
      "ActionCode": "465",
      "ActionMessage": "{-{Placeholder_ErrorMessage}-}",
      "AffectedObjectTimeStamp": "{-{Placeholder_AffectedObjectTimeStamp}-}"
    }
  }
]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.