03-14-2014 10:44 AM
We recently implemented creation of interactions via connect-it and WSDL.
We have found that when we are creating interactions this way, two emails are being generated by HPSM.
The email body and subject line only exist in the set of SM Add notifications, so I am confused as to how these emails would be generated twice. Is there a specific way that WSDL interaction creations differ from manual creation (a different process that is run?) that could be causing this behavior? We are only seeing a single email if the interaction is created manually.
Thanks for any help you might be able to provide.
03-18-2014 01:00 AM
If you get debug "RTM:3" "debugdbquery:999" "debughttp:1", search "notification(", it would be very easy to find out how these two notification emails are sent out.
Yan Tong (Serene), HP Software Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution; and give kudo if you like it :)
03-18-2014 09:51 AM
This is a known issue (it sometimes is best to check the support site first):
Two duplicate emails are sent out when an Interaction is opened by a Web Services request.
This issue occurs because both the cc.save RAD in the "cc.first.log" process and the "cc.first.log" process itself calls us.notify. To work around this issue, follow these steps (originally documented in KM816590): Modify the cc.first.log process to disable the second email. 1. Go to SM command line and type: *fObject 2. In the Object Definition screen search for "incidents". 3. Go to "Variables/Global Lists" tab. On the local variable listbox, verify that you have "$L.soap" variable added there. If not, add it and then save the record. Close the window. 4. Go to System Definition -> Tailoring -> Document Engine -> Processes. 5. Search for "cc.first.log". 6. Go to the RAD tab and search for the "us.notify" rad application. 7. In the "Expressions evaluated before RAD call" section, add the following line: if same($L.soap, true) then ($L.webservice=false) else ($L.webservice=true) 8. In the condition field add "and $L.webservice" clause. 9. Save the record.