N
Novuβ€’11mo ago
Joey Mason

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.
No description
13 Replies
Pawan Jain
Pawan Jainβ€’11mo ago
@Joey Mason Did you update the workflow name or workflow trigger identifier after creating workflow?
Yang
Yangβ€’11mo ago
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
Tomer Barnea
Tomer Barneaβ€’11mo ago
Thanks @Yang !
Pawan Jain
Pawan Jainβ€’11mo ago
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
kingen ✌🏻
kingen βœŒπŸ»β€’10mo ago
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 πŸ€”
Pawan Jain
Pawan Jainβ€’10mo ago
@kingen ✌🏻 Did you update the workflow name or trigger identifier ?
kingen ✌🏻
kingen βœŒπŸ»β€’10mo ago
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.
codeOverCoffee
codeOverCoffeeβ€’6mo ago
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.
Sam Hepburn
Sam Hepburnβ€’3mo ago
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?
Tomer Barnea
Tomer Barneaβ€’3mo ago
I'll let @Pawan Jain help out here πŸ‘€
Pawan Jain
Pawan Jainβ€’3mo ago
@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?
Sam Hepburn
Sam Hepburnβ€’3mo ago
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 you
Pawan Jain
Pawan Jainβ€’3mo ago
Thanks 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
Want results from more Discord servers?
Add your server