Workflow function no longer working after upgrade to QCv10 from QCv9.2

  • Questions
  • Workflow function no longer working after upgrade to QCv10 from QCv9.2
Question ID: 104091
3
0

I have a function that no longer works after our upgrade to QCv10. It does not appear to be looping.

Below is the function.

Function CUST_Create_HTML_String(testSteps)

Dim HTML_String
HTML_String = ""
For Each item In testSteps
HTML_String = HTML_String & Replace(item, "Step^", "")
HTML_String = Replace(HTML_String, "^0", "")
HTML_String = HTML_String & "
"
Next
HTML_String = HTML_String & ""
CUST_Create_HTML_String = HTML_String

End Function

Marked as spam
Posted by (Questions: 23, Answers: 1)
Asked on April 14, 2010 1:41 pm
19 views
Answers (1)
3
Private answer

Change the word ''item'' to ''present'' as below

Function CUST_Create_HTML_String(testSteps)

Dim HTML_String
HTML_String = ''''
For Each present In testSteps
HTML_String = HTML_String & Replace(present, ''Step^'', '''')
HTML_String = Replace(HTML_String, ''^0'', '''')
HTML_String = HTML_String
Next
HTML_String = HTML_String & ''''
CUST_Create_HTML_String = HTML_String

End Function

Marked as spam
Posted by (Questions: 0, Answers: 613)
Answered on April 14, 2010 1:55 pm
Thank you, that solved the issue.
( at April 14, 2010 1:59 pm)