"Trace not available" pop up in workflow

Hello!

When I run a workflow, no matter how simple, the pop-up “Test completed, Trace not available”. The workflow processes still function as normal.

What does the pop-up mean?

1 Like

When a workflow is executed it (sometimes) builds an execution trace – what happened during execution.
If the trace is available it is shown on the workflow builder; if it is not, that message is shown (nothing is wrong there).

However, I did also notice that something is off with it (it isn’t available for most cases) so we’ll need to investigate what happened there.

What version are you using?

I am using version 2021.9.6

seeing this in 2024.9.7 too

More information please.
What steps types do you use, is the workflow deffered?
As much info as possible please, so its easier to replicate.

I was trying to make this workflow I built a while back come back to life.
System User - After Create > Custom User Module Record Creation.

It always used to work in debug mode but never live, I was trying to rework it and get this error now when testing. During debug/test even though it gives error, a user gets created.

But when workflow is live and a new user is created, no custom module user gets created. And I wonder what I am missing because a lot of the people seem to have this setup of a custom user module.

Attaching the workflow here for reference @jfortun

{
  "workflows": [
    {
      "handle": "sysUser",
      "enabled": true,
      "meta": {
        "name": "System User: After Create",
        "description": "",
        "visual": null
      },
      "keepSessions": 0,
      "steps": [
        {
          "stepID": "5",
          "kind": "function",
          "ref": "composeRecordsCreate",
          "arguments": [
            {
              "target": "record",
              "expr": "userRecord",
              "type": "ComposeRecord"
            }
          ],
          "results": [],
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "defaultName": true,
              "id": "5",
              "parent": "1",
              "value": "Compose record create",
              "xywh": [
                2904,
                2272,
                200,
                80
              ]
            }
          }
        },
        {
          "stepID": "8",
          "kind": "function",
          "ref": "composeRecordsNew",
          "arguments": [
            {
              "target": "namespace",
              "value": "DD",
              "type": "Handle"
            },
            {
              "target": "module",
              "value": "User_c",
              "type": "Handle"
            }
          ],
          "results": [
            {
              "target": "userRecord",
              "expr": "record",
              "type": "ComposeRecord"
            }
          ],
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "defaultName": false,
              "id": "8",
              "parent": "1",
              "value": "Make User",
              "xywh": [
                2904,
                2000,
                200,
                80
              ]
            }
          }
        },
        {
          "stepID": "9",
          "kind": "expressions",
          "ref": "",
          "arguments": [
            {
              "target": "userRecord.values.name",
              "expr": "user.name",
              "type": "Any"
            },
            {
              "target": "userRecord.values.email",
              "expr": "user.email",
              "type": "Any"
            },
            {
              "target": "userRecord.values.handle",
              "expr": "user.handle",
              "type": "Any"
            },
            {
              "target": "userRecord.values.user_id",
              "expr": "user.userID",
              "type": "Any"
            }
          ],
          "results": [],
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "defaultName": false,
              "id": "9",
              "parent": "1",
              "value": "Set User Values",
              "xywh": [
                2904,
                2136,
                200,
                80
              ]
            }
          }
        },
        {
          "stepID": "21",
          "kind": "expressions",
          "ref": "",
          "arguments": [
            {
              "target": "hello",
              "type": "Any"
            }
          ],
          "results": [],
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "defaultName": true,
              "id": "21",
              "parent": "1",
              "value": "Define and mutate scope variables",
              "xywh": [
                2904,
                2392,
                200,
                80
              ]
            }
          }
        },
        {
          "stepID": "22",
          "kind": "function",
          "ref": "composeRecordsUpdate",
          "arguments": [
            {
              "target": "record",
              "expr": "userRecord",
              "type": "ComposeRecord"
            }
          ],
          "results": [],
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "defaultName": true,
              "id": "22",
              "parent": "1",
              "value": "Compose record update",
              "xywh": [
                2904,
                2520,
                200,
                80
              ]
            }
          }
        }
      ],
      "paths": [
        {
          "parentID": "8",
          "childID": "9",
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "id": "17",
              "parent": "1",
              "points": [],
              "style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;",
              "value": null
            }
          }
        },
        {
          "parentID": "21",
          "childID": "22",
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "id": "23",
              "parent": "1",
              "points": [],
              "style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;",
              "value": null
            }
          }
        },
        {
          "parentID": "5",
          "childID": "21",
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "id": "25",
              "parent": "1",
              "points": [],
              "style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;",
              "value": null
            }
          }
        },
        {
          "parentID": "9",
          "childID": "5",
          "meta": {
            "name": "",
            "description": "",
            "visual": {
              "id": "26",
              "parent": "1",
              "points": [],
              "style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;",
              "value": null
            }
          }
        }
      ],
      "triggers": [
        {
          "resourceType": "system:user",
          "eventType": "afterCreate",
          "constraints": [],
          "enabled": true,
          "stepID": "8",
          "meta": {
            "description": "",
            "visual": {
              "defaultName": false,
              "edges": [
                {
                  "childID": "8",
                  "meta": {
                    "description": "",
                    "label": "",
                    "visual": {
                      "id": "16",
                      "parent": "1",
                      "points": [],
                      "style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;",
                      "value": null
                    }
                  },
                  "parentID": "6"
                }
              ],
              "id": "6",
              "parent": "1",
              "value": "System User - afterCreate",
              "xywh": [
                2576,
                2000,
                200,
                80
              ]
            }
          }
        }
      ]
    }
  ]
}```