# Send Output is not working

**URL:** <https://discourse.openiap.io/t/send-output-is-not-working/1024>\
**Category:** OpenRPA\
**Created:** [December 12, 2023, 2:39am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024 "2023-12-12T02:39:21Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 12, 2023, 2:39am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/1 "2023-12-12T02:39:21Z")

</div>

Hello!

I have followed the following video guide to install my instance of openrpa/openflow/nodered. [https://www.youtube.com/watch?v=Zy04eSDy3RI](https://www.youtube.com/watch?v=Zy04eSDy3RI)

I have followed along exactly with the following guide to send output to my nodered instance, and i cannot get it to work. [https://www.youtube.com/watch?v=Of\_X\_k4h3hY](https://www.youtube.com/watch?v=Of_X_k4h3hY)

Any advice or common issues that i could look at?

Many thanks,  
Jake

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 12, 2023, 4:30am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/2 "2023-12-12T04:30:23Z")

</div>

to provide some more detail: I am getting messages in my node red debug window, but it is just the message from the function node. So, it says, “hi mom 1” instead of “hi mom 1 one time” like in the posted video.

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 12, 2023, 11:17am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/3 "2023-12-12T11:17:56Z")

</div>

please show a screenshot of your flow

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 12, 2023, 9:10pm UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/4 "2023-12-12T21:10:35Z")

</div>

![Screenshot 2023-12-10 122436](https://discourse.openiap.io/uploads/default/original/2X/2/2584df8032c647d5b59f14d7177258336d1aca63.png)

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 12, 2023, 9:30pm UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/5 "2023-12-12T21:30:28Z")

</div>

There are 3 “out”'s of the rpa node.  
Top one gets activated when the workflow completes successful, bottom one if the workflow fails, middle one is for status messages.

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 12, 2023, 10:12pm UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/6 "2023-12-12T22:12:08Z")

</div>

Thanks, Al. I have added the two success and fail debug nodes and i am still getting the same result:

 ![Screenshot 2023-12-12 161109](https://discourse.openiap.io/uploads/default/original/2X/3/3f8efbb1feb42c57e1bf736706097c8f1d25d6f5.png)

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 13, 2023, 8:36am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/7 "2023-12-13T08:36:32Z")

</div>

So what is the problem ?  
I’m seeing output as the last message in your screenshot, so assuming you are getting that too.

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 13, 2023, 1:55pm UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/8 "2023-12-13T13:55:38Z")

</div>

The issue is that the msg.payload is only text from the function node, it does not have the text part from the rpa workflow output.

In other words, if i remove the function node, then I get no text in the msg.payload.

I have toggled the “send output” button in OpenRPA on and off and always get the same result.

Thanks for your help here!

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 13, 2023, 2:08pm UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/9 "2023-12-13T14:08:50Z")

</div>

Again, the output is in the last message

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 14, 2023, 2:18am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/10 "2023-12-14T02:18:00Z")

</div>

Shouldn’t I see output from the OpenRPA bot writeline? If I remove the function node I get no text at all in the msg.payload, just “data: undefined”.

 ![Screenshot 2023-12-13 201415](https://discourse.openiap.io/uploads/default/original/2X/7/7525682f7df99402c01d00157ffd1b3f28e00fb8.png)  
 ![Screenshot 2023-12-13 201510](https://discourse.openiap.io/uploads/default/original/2X/7/70a2437391c2cef74478eb45e8d3db032e241242.png)

 ![Screenshot 2023-12-13 201053](https://discourse.openiap.io/uploads/default/original/2X/c/ccf56737a80695e589e8b830ea0053272a4c0687.png)

---

<div class="post-metadata">

**Author:** ![Velinkton](https://discourse.openiap.io/user_avatar/discourse.openiap.io/velinkton/32/931_2.png) [@Velinkton](https://discourse.openiap.io/u/Velinkton)\
**Post date:** [December 14, 2023, 8:35am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/11 "2023-12-14T08:35:16Z")

</div>

In the “Function” node you create a message that will be sent to your robot. Regardless of its content, the robot starts when it receives a message. Since you don’t process this message in any way, it simply goes to the “Success” output of the robot and ends up in “Debug”.

To send some results from the robot to Node-Red, you need to at least create an Out-argument that will contain some value. I can’t say how to make it appear in the message payload, I’ve never tried it. But I’m sure it’s not difficult

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 14, 2023, 9:00am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/12 "2023-12-14T09:00:41Z")

</div>

There might also be a timing issue.  
If the workflow runs to fast, the console output not be “cought” as being part of the workflow.  
So adding a delay of 0:0:0.500 at the end might help

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 15, 2023, 2:03am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/13 "2023-12-15T02:03:29Z")

</div>

Thanks again for all of your responses and help.

I have simplified the flow to just writeline “hello world” and then added a 5 sec delay. No luck still. So, i took a step back and noticed that i am not getting any output into the console field in open flow. Shouldn’t i expect “hello world” there?

Many Thanks!  
Jake

 ![Screenshot 2023-12-14 195735](https://discourse.openiap.io/uploads/default/original/2X/3/30a03925dcaaf872420f9cb711457182b96be57e.png)  
 ![Screenshot 2023-12-14 195816](https://discourse.openiap.io/uploads/default/original/2X/c/cda2befb776ba6c20e30330831f7b6335ba57cc4.png)  
 ![Screenshot 2023-12-14 195840](https://discourse.openiap.io/uploads/default/original/2X/a/a20f4c1e800f65e201302e5408532048460b43f4.png)

---

<div class="post-metadata">

**Author:** ![Jake\_56](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jake\_56](https://discourse.openiap.io/u/Jake_56)\
**Post date:** [December 15, 2023, 2:06am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/14 "2023-12-15T02:06:41Z")

</div>

Thanks for this suggestion! I noticed i am not getting output into the console field in openflow when I look at the results from Entities \> openrpa\_instances. I am going to work on resolving this first, and then i will circle back to getting the writeline output into node red.

Thanks!

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [December 15, 2023, 7:30am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/15 "2023-12-15T07:30:55Z")

</div>

No. you did not enable that.  
“save output” is adding the output to the instance i openrpa\_instaces  
“send output” sends the output as status messages to the one requesting the workflow run.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [December 22, 2023, 7:31am UTC](https://discourse.openiap.io/t/send-output-is-not-working/1024/16 "2023-12-22T07:31:36Z")

</div>

Closed on December 22, 2023, 7:31am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
