on ‎2020 Oct 27 7:35 AM
I have some requirement to call custom logic in the SAP Marketing Cloud. We trigger the Double Opt-In process for email communication. There we have some use cases where we want to inform other systems about changes in regards to permission / interactions:
Is there any way to achieve this?
I already checked if there is some enhancement option in the "Custom Fields and Logic" app. For interactions I couldn't find anything suitable but how about that? Can this maybe help?
badi-create-and-update-permissions.png
Request clarification before answering.
I would suggest to use 3 different trigger based campaigns which are listening the regarding interactions. Then I'd create either one combined or three different open channels and hand over the information to the CPI. Finally you could implement your logic in the CPI and call the relative systems to inform them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Please have a look into the link which Tobias shared in previous comment. In case you need any other support, please feel free to ask in community again.
Regards,
Cagri
Hi Christian,
You should able to see "Add" button on the right top.
Then you should add any interactions you'd like to trigger.
Regards,
Cagri
Hi Christian,
never done this, but I think you can try using Business Event Handling. Check this blog from Josef Ehbauer and the mentioned articles there.
Maybe he is the right person if there are further questions regarding that interesting topic.
BR Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi hackbu,
unfortunately I'm not a developer and think this BAdI has to be checked by someone who knows what can be done with it. But at the moment I'm not aware of a possibility to achieve that what you're trying to do via Custom Logic...
With the new information provided in your question I would also try to go for Cagris approach. Here you can find the information regarding Open Channel Integration. There are five BAdIs which you could check and implement according to your needs.
Hi hackbu,
in Testsystem you should have the possibility to add new triggers in the upper right.

If you don't see this I would as a first step clear the browser cache.
I just checked but saw that there's no option to add the Pre-Opt-in... Maybe that's because the interaction type is marked as "Technical". You have to try that.
BR Tobias
Hey schneidert,
thanks. I just didn't see the "Add" button...
So I added all three interaction typs (pre opt-in, opt-in, opt-out) as trigger.
When I create a trigger-based campaign now I have the following trigger types available:

I compared it with the triggers which are customized.
"Marketer-Initiated" must be the pre opt-in interaction...
Do you have any information about that "to be deprecated" note?
BR
Christian
Hi hackbu,
no, Marketer-Initiated is not your pre-opt-in interaction.
See these two links what it's all about:
https://answers.sap.com/questions/13086810/what-is-marketer-initated-trigger.html
BR Tobias
We have the same use case (actually exactly the same - notify 3rd party systems on subscription / permission change).
The way to go is business event handling. Marketing cloud can send events for changes on these interactions to SAP event mesh. You can then subscribe any consumer either directly or subscribe a processor which does additional transformation etc on the received event.
Unfortunately SAP's documentation is ... lacking. It takes a few steps to piece it all together and the documentation is anything but straightforward. Get started here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.