Then, I wanted to check the status of this workflow. Here, something strange happens. I expected the workflow to be running, but the status I got back was that it was completed. My curl request:
curl --location --request GET 'http://localhost:5000/api/workflow/5f58827ba91412682c7ba41b'
However, I did not receive any request as expected to http://localhost:5006/api/v1/send/message. I don't see any errors on the console. In the database, I see the entry:
Hi, I created a workflow definition using the following call:
And I received the expected 204 response. I can see the workflow definition saved to the database. Then I started the workflow using
I received the response as expected:
Then, I wanted to check the status of this workflow. Here, something strange happens. I expected the workflow to be running, but the status I got back was that it was completed. My curl request:
curl --location --request GET 'http://localhost:5000/api/workflow/5f58827ba91412682c7ba41b'
And the response I received was
In any case, I tried raising the event using the http request:
To which I got back the 204 response.
However, I did not receive any request as expected to http://localhost:5006/api/v1/send/message. I don't see any errors on the console. In the database, I see the entry:
What am I doing wrong? Thanks.