Skip to Content
author's profile photo Former Member
Former Member

How to include & in URL as /* WF task description

Hi experts,

Our SAP environment is ECC 5.0. I have a requirement to add an external URL into my workflow task description. I have added the below URL in the task description as a comment with /*

with proper < >

a href="mailto:test@lsi.com?subject=test&body=action:approve"

This works fine.

However, when I create a container element named url_link and assign initial value in the container as below:

mailto:test@lsi.com?subject=test&body=action:approve

And then within the task description as a comment with /*

a href="&url_link"> Approve </a>

This is what I get in the HTML source:

a href=" mailto:test@lsi.com?Subject=Test<(>&<)>Body=action:approve"> Approve

I also tried to include escape character <)> in the container initial value

mailto:test@lsi.com?subject=test<(>&<)>body=action:approve

That didn't work either.

Any help would be greatly appreciated.

Thank you.

Jennifer Tran

Edited by: Jennifer Tran on Jan 5, 2008 12:04 AM

Edited by: Jennifer Tran on Jan 5, 2008 12:05 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2008 at 11:12 PM

    I also tried this

    url_link = mailto:test@lsi.com?subject=test

    url_link2 = body=action:approve

    /* < a href="&url_link

    = &

    = &url_link2"

    That didn't work either. It added an extra space in front and behind the &

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2008 at 02:36 AM

    This is how I managed to get this working:

    url1=mailto:test@lsi.com?subject=test

    url2=body=action:approve

    /* &url1&

    = &&url2&

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Pavan Chand Bhamidipati

      I created 2 containers (ZWCTESTURL1, ZWCTESTURL2) in my task and gave them initial values:

      ZWCTESTURL1 = mailto:test$lsi.com?subject=test

      (replace "$" with "@", this posting will not let me enter email address)

      ZWCTESTURL2 = body=action:approve

      I put the following line in my Task Description:

      <a href="&ZWCTESTURL1&&&ZWCTESTURL2&">test</a>

      When I go into Business Workplace (SBWP) and open my workitem, I see a hyperlink named "test". When clicked, it properly opened a new email in my lotus notes which put To, Subject, and Body text correctly. However, when I open same workitem in Universal worklist (UWL), there is no hyperlink, just straight text. It displays as:

      lsi.com?subject=test&body=action:approve">test

      (replace "H" with "a")

      As I suspected, I could not create hyperlinks in workitems that are in Universal Worklist. I looked at the editor options in task description and have not any luck with what I tried to make that text a hyperlink in UWL.

      Matt

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.