Only 1 time for OnError #restart

Hi,
below “onError #restart” is designed to repeat running the macro once error happened:

{
  "Name": "LoginIRIS",
  "CreationDate": "2024-7-1",
  "Commands": [
    {
      "Command": "onError",
      "Target": "#restart",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "NODISPLAY",
      "Value": "!replayspeed",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!TIMEOUT_PAGELOAD",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!TIMEOUT_WAIT",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.testwebsite.com",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "//small[contains(.,\"ABC\")]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "false",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!statusOK",
      "Description": ""
    },
    {
      "Command": "waitForElementPresent",
      "Target": "id=home",
      "Value": "",
      "Description": ""
    }
  ]
}

If you only test itself, it’s normal. But only repeat for 1 time while called by another macro.