How to append data to last line of title field.

Hi Experts,

My requirement is to append a new line of data at the last line of title field. For this wrote below script in script library.

if(rc== RC_SUCCESS)
{

do
{
installFile.wpoptstatus="Superseded";
installFile.title=installFile.title ". This RFC has been superseded by " supersedeNo;
installFile.doUpdate();
}while( installFile.getNext() == RC_SUCCESS);
}

current result:

result.png

Expected Result:

expected result.png

 

How to add new data as next line with already existing data in title field.

Thanks in Advance.

Jithisha

Parents Reply Children
No Data