workflow_not_found
I set up a workflow and tried running it from my app and I am getting workflow_not_Found error. Then I tried running it from command line to see if it was a Java library issue and got the same error. Finally I tried running it from the Novu UI and am seeing the workflow_not_found toast error.
13 Replies
@Joey Mason
Did you update the workflow name or workflow trigger identifier after creating workflow?
I had identify issue today, I think it is due to some time needed after a workflow name is updated on the server
I waited a few hours and works again
Thanks @Yang !
In my opinion there is some cache issue.
I will share this issue with our team.
I will keep you updated about the fix @Joey Mason
I'm also seeing
workflow_not_found
when calling trigger. I'm confused because workflow_not_found
is notr even listen as a possible response https://docs.novu.co/api-reference/events/trigger-event π€@kingen βπ» Did you update the workflow name or trigger identifier ?
yeah I did, but I must have done something wrong because when I set up my EU organization again I didn't see the problem any more.
Has there ever been a solve for this issue? It seems that the time for the servers to recognize changes to workflow is pretty long. I wrote a script that outputs the workflows available to me. It shows the two new workflows but when I attempt to trigger them, I get the
workflow_not_found
error. I wait a while and then they trigger properly.I'm still seeing this behaviour. I created a new workflow last night and when retrieving the list of workflows it appeared correctly, but when trying to trigger an event to the workflow I was receiving 422 and workflow_not_found. Trying again 8 hours later all works fine. Is there any update on this issue?
I'll let @Pawan Jain help out here π
@Sam Hepburn and @codeOverCoffee
Did you trigger the workflow using test option in UI or triggered using API/SDK ?
Can you replicate this issue with new workflow?
I saw this behaviour with both of those
I was triggering the event with the Python SDK, and receiving back a 422.
I then attempted to use the test section in the UI (https://docs.novu.co/api-reference/events/trigger-event), and I still received 422, and this is where I saw the extra message of
"workflow_not_found"
.
I will try again shortly and get back to youThanks Sam. Sure keep us updated. I am trying to reproduce but it is not able to reproduce. May be there is some specific steps.
If possible please remember steps as well. it will help us in debugging