[Virtual agent]Topic Block date/time output becomes null when creating Incident on the mail flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi everyone,
I'm facing an issue with passing a date_time value from a reusable Topic Block to my main flow in Virtual Agent. My goal is to capture a date from the user in a topic block and then use that date to populate subject field on a new incident record.
However, the subject field on the created incident is always null. It seems like the variable is being converted to a string somewhere in the process.
Here's my current setup:
Topic Block Output:
I created an output variable on the END node. (your_birthday in the attached screenshot)
In the END node of the topic block, I am assigning the value from my Date/Time input to this output variable. (See screenshot below).
Main Flow: In the main flow, I call the topic block and then use a "Create Record" action. I drag the data pill for the topic block's date output into the corresponding Date/Time field for the new incident.
Despite setting the variable type to Date/Time on the Start Node output, the result is still a null value on the incident record. However, for other 2 variables, which are string and choice(drink and food in the screenshot below), the value is appearing on the created incident without problem.
Could anyone see what I might be missing? Is there another place where a data type conversion might be happening, or a better way to ensure the variable stays as a proper Date/Time object throughout the flow?
Thanks in advance for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago