Hi everyone, I am having hard time to read/receive payload from workitem to my workflow in openRPA.
Here’s what i did:
In nodered, I have created a flow that receives data thru http in node then will create workitem with that data and this workitem as expected will execute the workflow and the issue is i am not receiving the payload of the workitem.
Context:
The workflow need to run as soon as it receives http request in nodered.
There could be a lot of http request that will trigger the workflow
How can I solve this? Should I instead use RPA node instead of workitem?
In Node-RED, use the HTTP In/Out nodes to create an endpoint. Between those you can then, add a work item and then use the RPA node to trigger a workflow that will “pop” the item.
This way, you get the “instant” feeling while keeping transaction security by using work items.
If a “delay” before processing is acceptable, you can also assign a robot and workflow to the work item queue. Then, OpenFlow will “ping” the robot every 60 seconds if there are unprocessed items in the queue.
You can increase or decrease this number under settings, but i do NOT recommend setting this to a very low number, so if fast reaction is needed i would recomend you do as i suggested above.