Topic
2 replies Latest Post - ‏2013-06-16T16:30:43Z by mamitra
Vivek24
Vivek24
2 Posts
ACCEPTED ANSWER

Pinned topic Event Manager / BPDTrigger from Email without Portal Login

‏2012-08-01T03:52:38Z |
I have a requirement in which the Manager need to Approve / Reject a task (also need to give comments) after receiving an task email from Lombardi to his Lotus Notes without Logon to Lombardi Portal.

For that, I tried to embed the HTML code in the email (on-click of approve or reject button HTML code execution) and I didn't get any luck on executing that. I chosen that method since BPD has been successfully triggered (with UCA) Once the message to the Event Manager received from an HTML page.

I tried embed the below HTML code to messageText (String) parameter while send email thro SMTP.

<html>
<head>
<title>This is a Test Message</title>
</head>
<body>
<label>Hello</label>

<label>Please Approve or Reject</label>

<table>
<tr>
<td>
<form action="http://hostname:port/eventmgr/httpcontroller/SendEvent"; method = "post">
<textarea name = "eventmsg" style="visibility:hidden; display:none;">
<eventmsg><event processApp="EVEMAN">test-event-manager</event><parameters><parameter><key>SerialNumber</key><value>25</value></parameter><parameter><key>Approve</key><value>Yes</value></parameter></parameters></eventmsg>
</textarea>
<input type="submit" value="Accept">
</form>
</td>
<td>
<form action="http://hostname:port/eventmgr/httpcontroller/SendEvent"; method = "post">
<textarea name = "eventmsg" style="visibility:hidden; display:none;">
<eventmsg><event processApp="EVEMAN">test-event-manager</event><parameters><parameter><key>SerialNumber</key><value>25</value></parameter><parameter><key>Approve</key><value>No</value></parameter></parameters></eventmsg>
</textarea>
<input type="submit" value="Reject">
</form>
</td>
</tr>
</table>
</body>
</html>

and the email I received is shown in the attached which is an text message and the UCA (event) has not been triggered.

Email Content:
**************
Hello
Please Approve or Reject
test-event-managerSerialNumber25ApproveYesAccepttest-event-managerSerialNumber25ApproveNoReject

Could someone please help me on this? Thanks in advance for your help and time on this.
Updated on 2012-08-02T00:18:19Z at 2012-08-02T00:18:19Z by Vivek24
  • Vivek24
    Vivek24
    2 Posts
    ACCEPTED ANSWER

    Re: Event Manager / BPDTrigger from Email without Portal Login

    ‏2012-08-02T00:18:19Z  in response to Vivek24
    Found the solution.
    • mamitra
      mamitra
      1 Post
      ACCEPTED ANSWER

      Re: Event Manager / BPDTrigger from Email without Portal Login

      ‏2013-06-16T16:30:43Z  in response to Vivek24

      Can you please share the resolution? We are also facing the same issue. Here is the html form details along with event message.

      <html><head><form action=https://<server>:<port>/eventmgr/httpcontroller/SendEvent method = "post">

      <TEXTAREA rows=20 cols=80 name="eventmsg">

      <eventmsg><event ucaname="UCAVal" processApp="xxxxE">770911d6-1fb3-44a3-8f8a-90dd1e81eff9</event><parameters><parameter><key>RefNumber</key><value>XX2345</value></parameter></parameters></eventmsg>

      </TEXTAREA>

      <input type = submit>

      </form></head></html>

      Once submitted, I see the token has not moved out from IME, and get a response back on form action as  "FAIL" in browser.