"EnsureNoderedInstance completed"???
-
When I try to start Nodered, I am getting this error:
I don't understand the message or how to rectify the problem?
-
On app.openiap.io or a self hosted openflow ? If app.openiap.io, did you try with the same user as your did this post with ?
-
Hi @allan-zimmermann, yes it's the same user and I'm using your app,openiap environment. Just now I've rebooted my machine, restarted OpenRPA which has connected correctly:
I've logged in with my cruwys at gmail address and tried starting a node-red instance but it just leads to that same "EnsureNoderedInstance completed" screen. When I try visiting the node-red instance anyway I get this:
Quite confused. I don't know if it's related but when I log in to OpenFlow I get a whole bunch of idle WorkFlows that won't end because those noderd flows I wrote had the form setting as "idle" instead of "complete":
-
@colby-cruwys I just found a small issue where admin could not start a NodeRED, but i could not reproduce the error for normal users. But just as you wrote a pushed a fix for that issue, and when I impersonate your user after the fix, I can start a NodeRED just fine. Could you please try again and see my fix also fixed your issue or if it's still there for you ?
-
The list of un completed tasks is not related.
Those are there either from- you not adding a "workflow out" node that updated the status to successful or failed
- you are not catching errors using the "catch" node and updating the workflow state with the error/setting state error
-
It works perfectly now: Thank you so much
EDIT: Regarding the Idle Workflows, they were from testing...but I will play with those test flows and try and end them.
-
@colby-cruwys tip, if its just tests, then you can find all workflow instances in the the workflow_instances collection. So you can just delete them there. ( https://app.openiap.io/#/Entities/workflow_instances )
-