Flow Designer - update an HTML field with the content of another HTML field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2019 05:31 AM
Hi all,
In Flow Designer we are updating a record. Some of its fields are HTML fields and are to be updated with the content of other HTML fields. Instead of the content however, what we get is something like this:
com.glide.glideobject.GlideHTML@dbe6b4
which looks more like a reference to the HTML field instead of the content of the field
The Flow Designer record update looks like below. "TAD Description" is the HTML field, which we want to update with the contents of "Trigger->Customizations Record->Custom Element ->TA Custom Element Description", also an HTML field.
Anybody any idea why this is happening?
Many thanks in advance, Jan
- Labels:
-
flow designer
- 2,818 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2022 08:03 AM
I'm interested in your workaround, can you share it? thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2022 01:16 PM
This is a re-usable solution that is as clean as you can get short of a SNOW actually fixing it.
Create a script step with 2 Input Variables
- "record" the whole record passed from the flow that has the HTML field you want to retrieve a value from.
- "field" is the ServiceNow internal name of the field you want to get the HTML value from.
This is the script:
(function execute(inputs, outputs) {
var record = inputs.record;
var field = inputs.field;
outputs.return_str = record.getValue(field);
})(inputs, outputs);
This is what it looks like used in a Flow: