
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2023 08:47 AM
Hi Guys
I have an issue with Flow Designer where by I created an action within a flow.
I know the Action is receiving the correct input values as they show on the Step Configuration when I test:
I know that in my Action the script is working and producing the outputs that I need when I test the action
But what is not working is that when I run the test on the overall flow (which is meant to use the output values to send an email) the flow execution reads that the "Email has no recipients".
When I look at the outputs in the flow execution for my action, in this instance there are no outputs:
Can anyone point me in the right direction as to why the Action will display correct info when I test the action but when I test the overall flow that the action is in, then the Outputs cannot be retrieved?
Kind Regards
Markell
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2023 08:14 AM - edited ‎03-06-2023 08:15 AM
Hi Guys so got this sorted with SN Support. They advised that the issue doesn't seem to be a problem with the input data, but does appear to be a known new bug, discovered recently on a previous case, and referred me to this knowledge article.
The fix was to change part of my code to retrieve the input value from:
var value = inputs.request_item;
grReq.addQuery('sys_id',value.);
to
grReq.addQuery('sys_id',value.getUniqueValue());
"It seems to be an issue how the Reference is passed to the subflow as input."
Posting this in the hope it helps someone else in future as I did not know you had to use getUniqueValue() to get the sys_id to pass the value in a flow (and that this was a previously known issue).
Regards
Markell

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2023 08:14 AM - edited ‎03-06-2023 08:15 AM
Hi Guys so got this sorted with SN Support. They advised that the issue doesn't seem to be a problem with the input data, but does appear to be a known new bug, discovered recently on a previous case, and referred me to this knowledge article.
The fix was to change part of my code to retrieve the input value from:
var value = inputs.request_item;
grReq.addQuery('sys_id',value.);
to
grReq.addQuery('sys_id',value.getUniqueValue());
"It seems to be an issue how the Reference is passed to the subflow as input."
Posting this in the hope it helps someone else in future as I did not know you had to use getUniqueValue() to get the sys_id to pass the value in a flow (and that this was a previously known issue).
Regards
Markell