Copy HTML script into a variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 09:31 AM
Hello SN experts,
I'm reaching out for assistance or if you can guide me, I need to copy the HTML of an email to an HTML variable as this needs to be visible for the agents in the same format. I know that this is possible through the classic way (inbound action) but I'm trying to do this through flow designer, for this I created a custom action to obtain the value.
Testing the action standalone it's working but once I test it in the flow it doesn't, this is how I've the action configured:
The strange thing is that in the flow when I try to use the data pill of the action it appears this way:
Thanks in forwards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 09:57 PM
Hello Leonardo,
I tried the same thing (except I used 'Send Email' action and it works for me fine. Please be more specific what is the issue. When you run test, check flow exection details.
- Has the action returned needed values?
- If so, what are runtime values of a step where you trying to put HTML into Request details field?
- What is field type of Request details field?
- Also include screenshots with Action Outputs configuration.
I included screenshots from my testing below.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 08:58 AM
Hello @Martin Friedel
Thanks for your assistance! In this case, I'm trying to copy the HTML of the email and paste it into an HTML variable, so the variable has the same format. I followed the same steps you did and set the variable with the data-pill but I'm encountering the following error when I test the flow: com.snc.process_flow.exception.OpException.
I assume there might be some restriction preventing this operation. As a workaround, I used Maik Skoddow's article, "Set Value of a Catalog Variable at Flow Designer".