
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 12:18 PM
Creating an Action in Flow Designer. What it does is take a Date/Time value, make it a string and pass it to the output variable.
The input section of the Action catches my RITM and a Date/Time variable (original_date).
Next I have a Script step and a Notification step.
The Script step takes the Date/Time variable (inputs.original_date) and transforms it to a String (outputs). This string value is output to a string variable (outputs.some_date).
Next is the Notification Step. I created a simple notification that I thought would be able to use this variable (some_date) as a variable in the notification on the What it will contain tab, in the Message HTML field, like this ${variables.some_date}, but no. I can use the un-altered beginning variable that I pass into the Action ${variables.original_date} but not my transformed date to string.
What am I missing here?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 10:19 AM
I relented on this one. Just took step back, went to the catalog item and changed the variable type from Date/Time to Date. Now I have a simple date that'll do the job for now. If I'm pressed to pass another type of date format I'll do it at the catalog item before progressing through the flow.
Thanks for your input

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 03:29 PM
The date format is working. The output variable is coming across as (Fri, Sep 13, 2020) which is the format I wanted. I just can't pickup that just_date output variable in my notification with ${variables.just_date}.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 03:35 PM
I think you'll need to use String data type for output variable in that case.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 04:37 PM
Yes. It is a string.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 07:01 PM
"variables" are usually used to refer to a variable on a form. If you're just trying to use a output variable from steps before, ${some_date} should do. It should be possible to just drag & drop variables listed in the right side.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 08:40 AM
Yeah, that would seem to be a possibility, but no. Still no luck on this one.