How to access the value of a return value activity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 10:48 AM
I'm using these docs about the Return Value Activity.
Those docs say "Use this activity within a subflow to store data that the parent flow can access. The Return Value activity adds the data from the subflow's value variable to the parent workflow's scratchpad."
However, when I use the return value activity, and then access the scratchpad from a subsequent run script activity (in the parent workflow), I don't see the return value in the parent's workflow scratcpad.
Here is the overall workflow. Note the "Workflow" is a subflow that runs on success of the previous run script:
(see attached screenshot_6)
In that subflow, I have a return value activity that returned "Approved":
(see attached screenshot_7)
After that subflow runs, I have a "request_was_approved_or_rejected" script, that logs the scratchpad. In that log there is nothing for the return value from the subflow.
I've also tried writing to the parent scratchpad from the subflow, without luck. Is there a way to do that?
What am I missing?
Thank you!
- Labels:
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 10:49 AM
Your attachments are broken
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 10:54 AM
Thank you Aman! I have fixed the attachments.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 11:13 AM
Follow below article:
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 02:18 PM
Hi
Is your issue resolved?
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar