Skip to Content
Author's profile photo Alessandro Iannacci

How to generate an email instance inside the new 1402 Activity BO – Workaround

As discussed in the thread Errors While creating an Email Activity?

with the 1402 release of the studio, you cannot create an email inside an event of the activity business object, because of an issue on the backend. SAP will provide an hotfix but for now you can solve the problem with a workaround:

1) First of all create a new custom BO with an action modeled as following

1.PNG

2.PNG

The bo will receive the email request and will create the email instance.

2) Create the webservice based on the modeled BO, create the Service Integration, the Communication Scenario, the Communication system and the Communication arrangement

3) Switch the call in the activity extension!

3.PNG

The WS processing happens in a different dialog step/database transaction of the original activity BO so you will not get the issue anymore

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good day I have a similar requirement you would appreciate you provide me the code seen in previous forums but apparently this different from before hand thank you very much

      Author's profile photo Former Member
      Former Member

      Good day I have a similar requirement you would appreciate you provide me the code seen in previous forums but apparently this different from before hand thank you very much

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      welcome