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.
Thanks in advance...
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...