cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow WorkItem URL Issue - Special chars included

Former Member
0 Kudos

Hello Gurus,

I have a issue with URL (Hyperlink) in Workitem (Decision Step).

I am able to see the Hyperlink for which I am passing two container variables URL1, URL2 (here is the Task description I have entered, <a href = "&URL1&&URL2"> Click Here </a> ).

But the issue is I am getting addition values (special chars) in the URL.

URL1 and URL2 are of type text and 64 chars length. Below are the values passed from Workflow to Task.

URL1 = https://rapidtest.ihost.com/r03/MJN1/ERPImageLink/ImageLoadActio

URL2 = n.do?id=MzM3NiZNSk4xX1NBUERvY3NfMDE%3D&date=20110218

When I click the Hyperlink (Click Here), Below is the URL shown in the browser.

https://rapidtest.ihost.com/r03/MJN1/ERPImageLink/ImageLoadActio%20%20%20n.do?id=MzM3NiZNSk4xX1NBUERvY3NfMDE%3D<(>&<)>date=20110218

I am getting %20%20%20 in between two URL strings and also <(> before and after & which is URL2.

Kindly help me resolve this at earliest.

Regards,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1. Space issue: To remove %20%20%20, we need to make sure the size of the string is 64 char.

2. Special Chars issue "<(>": This was a Issue with SAP code. OSS Note 1725489 fixed this issue.

Right URL to use  - <a target="_black" href="&URL1&URL2">Click Here</a>

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

The %20 indicates a space, I think. Make sure there are no spaces at the end or beginning of those two strings.

regards

Rick Bakker / hanabi technology

Former Member
0 Kudos

Thanks Rick,

I had taken care of blanks in the two strings (condense  no-gaps). But still these extra chars occur.

Any idea how to contain extra chars for '&', I am getting <(> before and after &

Regards,

Raj

suresh_subramanian2
Active Contributor
0 Kudos

Hello !

      In decision step, change the code as follows and check :

<A HREF="http://&URL1&"

&URL1&

</A>

<A HREF="http://&URL2&"

&URL2&

</A>

Regards,

S.Suresh.