Skip to main content
Nintex Community Menu Bar
Solved

When I update an item field from the current item, I also gets the html tag.How can I only get the value from the current item field.

  • July 6, 2017
  • 7 replies
  • 6 views
  • Translate

I  have two list . i. OrderList ii.CustomerList . I am trying to update the CustomerList , CAddress field with the current item  field "Address" from OrderList, but when the workflow gets fired, it updates the CAddress field with  html tag and actual value. 

Best answer by kchaluvadi

Hi Israr,

Make the source field, "Address" as plain text. Multi line text field with "rich text" enabled internally have html tags. So, make it as "Plain Text".

View original

7 replies

Forum|alt.badge.img+13

What type of field is CAddress? Is it multiple lines of text with Rich Text enabled?

Translate

Well , the CAddress in single line of text and it is the  target  field . The Source field is Address , which is  Mutiline Line text and Rich Text enabled.

Translate

Forum|alt.badge.img+13

CAddress needs to be rich text to be able to parse the HTML or your source field needs to not be rich text. You could use Regular Expression to remove the HTML potentially, but that would be more headache.

Translate

Forum|alt.badge.img+12
  • Apprentice
  • 292 replies
  • Answer
  • July 6, 2017

Hi Israr,

Make the source field, "Address" as plain text. Multi line text field with "rich text" enabled internally have html tags. So, make it as "Plain Text".

Translate

Yes , your suggestion  worked for me, but  what if we have to copy different field types where the source and target field are of different types. 

Translate

Forum|alt.badge.img+13

From plain to rich will work just fine; from rich to plain is where you have the issue. Again, I would say that the best way to approach that would be using regular expression in your workflow to strip out that HTML, but I don't necessarily think that would be easy.

Translate

Forum|alt.badge.img+12
  • Apprentice
  • 292 replies
  • July 7, 2017

There is no specific or straight answer for this in my opinion and its all depends on the data types. I would suggest to check available inline functions (if any suites), string to integer workflow action depending on the situation.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings