IT Process Automation

Expand all | Collapse all

Send Request Email Issue

Jump to Best Answer
  • 1.  Send Request Email Issue

    Posted 12-09-2013 01:43 PM

    I am trying to configure the Process.Message variable in the input for a SendRequestEmail process, which is part of our Escalation process.

    What I want to do is add an approval hyperlink to the body of the message, as this is part of the escalation process and we want the recipient to be able act on the email they receive.

    I am passing in the request id and the url that is generated *does* work - if we try it in a browser it will lead to an approve/reject page.
    For example,  the message variable correctly becomes " http://ohboadev42:8080/usm/wpf?Node=icguinode.requestapprove&Args=12487" ( 12847 correctly being the request id).

    However, the SendRequestEmail process  fails and I can see the following error:

     SOAP invocation failed: org.xml.sax.SAXParseException: The reference to entity "Args" must end with the ';' delimiter.

    Any ideas?

    Thanks in advance...

    ~Patti Sendroff

  • 2.  [RESOLVED] Send Request Email Issue
    Best Answer

    Posted 12-10-2013 11:16 AM

    UPDATE -- I now have this resolved, here's the issue...

    You have to escape the "&" in building the approval link URL.

    As in this example:

    Process.TEST_APPROVAL_LINK =  "http://ohboadev42:8080/usm/wpf?Node=icguinode.requestapprove" + "&" +"Args="+requestID__ ;

    Hope this helps someone else someday...

    ~Patti Sendroff