cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to form hyperlink in SAP Build Process Automation

palak29
Associate
Associate
0 Kudos

Hi

I am trying to create a hyperlink inside SAP Build Process Automation. I am using following custom script to generate a hyperlink using two inputs 'url' and 'number' and setting the output as 'number' which can direct to input url. The script is as follow

var link = '<a href=' + url + '>' + number + '</a>';
return link;


But I am getting the wrong output and it is not getting resolved to hyperlinked.

"a "href=" "'https://google.com'" 123 "/a>"


I also tried to modify the function to handle escape characters but that also didn't work.return decodeURIComponent(link);


Kindly suggest me a way to create hyperlink as I need to pass it to my alert handler.

Accepted Solutions (0)

Answers (0)