Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

[Event Rule] distinguish different softwareTriggerEvent

Answered

Comments

1 comment

  • Wendy Chuang
    • Network Optix team

    Marked as "answered" since the problem has been discussed and resolved in the ticket system.
    ---

    The problem was caused by the incorrect format for the value of  \"inputPortId\".
    You need to add the double quotes and slash to the value as well. The most important is to assign a unique value for each soft trigger rule.

    Please check the content from the manual-created rule of a soft trigger event below. It will assign a unique ID with the correct format \"inputPortId\":\"82a87f8e-ffde-4739-8181-3acae585556c\"

     {
    "actionParams": "{\"allUsers\":false,\"authType\":\"authBasicAndDigest\",\"durationMs\":5000,\"forced\":true,\"fps\":10,\"httpMethod\":\"GET\",\"needConfirmation\":false,\"playToClient\":true,\"recordAfter\":0,\"recordBeforeMs\":1000,\"streamQuality\":\"highest\",\"url\":\"https://adminapi:admin1234@localhost:7001/api/createEvent?source=manual\",\"useSource\":false}",
          "actionResourceIds": [],
          "actionType": "execHttpRequestAction",
          "aggregationPeriod": 0,
          "comment": "",
          "disabled": false,
          "eventCondition": "{\"caption\":\"Manual create\",\"description\":\"_bell_on\",\"eventTimestampUsec\":\"0\",\"eventType\":\"undefinedEvent\",\"inputPortId\":\"82a87f8e-ffde-4739-8181-3acae585556c\",\"metadata\":{\"allUsers\":false,\"instigators\":[\"{00000000-0000-0000-0000-100000000000}\"],\"level\":\"\"},\"omitDbLogging\":false,\"progress\":0,\"reasonCode\":\"none\"}",
          "eventResourceIds": [
              "{583b52ef-c669-396b-d043-ea1e59f07302}"
          ],
          "eventState": "Undefined",
          "eventType": "softwareTriggerEvent",
          "id": "{ddbecffd-66a3-4916-ad29-6c5c90f1864f}",
          "schedule": "",
          "system": false
      }

    0

Please sign in to leave a comment.