Adding template back after deletion
I have deleted a notification template and added it back (with the same string identifier) and im now seeing some weird behavior. Any time that workflow shows up in the activity log it shows up as "Deleted Template". I tried to investigate a little bit by looking at the responses that come back when the page is loaded but I wasn't able to fully investigate it. I noticed when in the response from "GET v1/notifications" that the deleted and re-added workflows do not return a _templateId. However, other workflows do return the _templateId. If the template ID is not present theres no way to identify what workflow it is and so I assume the default is the string "Deleted Template"
We are trying to create our own metrics and alerts dashboard based on the "GET v1/notifications" endpoint so this bug seems to be blocking us from doing that. This is a self hosted version of Novu.
4 Replies
Okay i did some more discovery and this actually does not have to do with deleting workfows, it has to do with triggering a workflow from inside another workflow
I was following this example, when the workflow is triggered inside another workflow, it shows up with "Deleted Template"
However, I tried directly triggering the summary workflow and I saw no issue in the activity log
@Jonathan Licht
Whats your self host version?
"ghcr.io/novuhq/novu/api:2.1.1"
"ghcr.io/novuhq/novu/web:2.1.1"
"ghcr.io/novuhq/novu/worker:2.1.1"
"ghcr.io/novuhq/novu/ws:2.1.1"
here are the images we are using
2.1.1
This actually does not seem to be an issue anymore
this was only happening when we were running the bridge app locally but the main novu remotely. when we moved everything to remote it seems to work as expected
Thanks for the update @Jonathan Licht