Question
Verizon Data services India
IN
Last activity: 19 Jun 2017 9:59 EDT
How to replace a String with another string present in the work object data? (User entered data)
We have a requirement to replace a particular text with another Text in all the user entered data in existing work object. That text can be present in normal property value or any of the embedded property value.
We thought to get the work object in a page and convert the work object XML to string and then replace the required text. But in this case, we can't save the replaced text as we replacing in string. Again converting string to XML, parse that XML, setting the values in work object ... it is very lengthy and may not be feasible. Every workobject follows different flow at run time, so the page structure can be different for every work object.
Could some one please suggest if there is any easy way to do this?