Msg.reset inside subflow not working on delay

Cancel Delay Failure flow

[
    {
        "id": "5000652e2e0639f2",
        "type": "subflow",
        "name": "Cancel Delay Failure",
        "info": "",
        "category": "",
        "in": [
            {
                "x": 180,
                "y": 140,
                "wires": [
                    {
                        "id": "93e904b826c5b927"
                    }
                ]
            }
        ],
        "out": [],
        "env": [],
        "meta": {},
        "color": "#DDAA99"
    },
    {
        "id": "ca1fc825888ca8ad",
        "type": "subflow:93d1b74d61d4f90f",
        "z": "5000652e2e0639f2",
        "name": "",
        "x": 520,
        "y": 140,
        "wires": []
    },
    {
        "id": "93e904b826c5b927",
        "type": "change",
        "z": "5000652e2e0639f2",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "reset",
                "pt": "msg",
                "to": "true",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 320,
        "y": 140,
        "wires": [
            [
                "ca1fc825888ca8ad"
            ]
        ]
    },
    {
        "id": "93d1b74d61d4f90f",
        "type": "subflow",
        "name": "TestMsgCancel",
        "info": "",
        "category": "",
        "in": [
            {
                "x": 80,
                "y": 100,
                "wires": [
                    {
                        "id": "8e95cef841af3afe"
                    },
                    {
                        "id": "1b3f56701316f785"
                    }
                ]
            }
        ],
        "out": [],
        "env": [],
        "meta": {},
        "color": "#DDAA99"
    },
    {
        "id": "8e95cef841af3afe",
        "type": "delay",
        "z": "93d1b74d61d4f90f",
        "name": "",
        "pauseType": "delay",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 280,
        "y": 100,
        "wires": [
            [
                "f8bc75fb8ecb0338"
            ]
        ]
    },
    {
        "id": "f8bc75fb8ecb0338",
        "type": "debug",
        "z": "93d1b74d61d4f90f",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "\"delay finished\"",
        "targetType": "jsonata",
        "statusVal": "",
        "statusType": "auto",
        "x": 480,
        "y": 100,
        "wires": []
    },
    {
        "id": "1b3f56701316f785",
        "type": "debug",
        "z": "93d1b74d61d4f90f",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 270,
        "y": 40,
        "wires": []
    },
    {
        "id": "aa2a0675de682cbc",
        "type": "tab",
        "label": "Cancel Delay Works",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "e8c53ad359599fe8",
        "type": "inject",
        "z": "aa2a0675de682cbc",
        "name": "Set Delay",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 120,
        "y": 140,
        "wires": [
            [
                "d04e986cf42f4425"
            ]
        ]
    },
    {
        "id": "77bd611303adafee",
        "type": "inject",
        "z": "aa2a0675de682cbc",
        "name": "Cancel Delay",
        "props": [
            {
                "p": "reset",
                "v": "true",
                "vt": "bool"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 130,
        "y": 180,
        "wires": [
            [
                "d04e986cf42f4425"
            ]
        ]
    },
    {
        "id": "d04e986cf42f4425",
        "type": "subflow:93d1b74d61d4f90f",
        "z": "aa2a0675de682cbc",
        "name": "",
        "x": 340,
        "y": 140,
        "wires": []
    },
    {
        "id": "3433a4566b875615",
        "type": "comment",
        "z": "aa2a0675de682cbc",
        "name": "This works",
        "info": "This works setting msg.reset=true from within a flow",
        "x": 80,
        "y": 80,
        "wires": []
    },
    {
        "id": "1c1812546a3e8f75",
        "type": "inject",
        "z": "aa2a0675de682cbc",
        "name": "Cancel Delay",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 130,
        "y": 320,
        "wires": [
            [
                "e66ae0ac72899773"
            ]
        ]
    },
    {
        "id": "78ab1eb439ec1abc",
        "type": "comment",
        "z": "aa2a0675de682cbc",
        "name": "This fails",
        "info": "This fails setting msg.reset=true from within a subflow",
        "x": 80,
        "y": 260,
        "wires": []
    },
    {
        "id": "e66ae0ac72899773",
        "type": "subflow:5000652e2e0639f2",
        "z": "aa2a0675de682cbc",
        "name": "",
        "x": 350,
        "y": 320,
        "wires": []
    }
]

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506