Is it possible in Adobe Campaign to create a Web App and check for the delivery logs and the tracking logs when I put any emails from a customer or from a campaign in a label text input ?
Is there any example or tutorials on how to manage that task ?
Do I have to work with a specific Web App, dataSchema, ... ?
There are 2 solutions:
Hereinafter, a simple example with Page v5 activity:
In both cases, it is the same principle/same workfklow; there are also such many cases in the factory Reports (which are actually very similar to Page compatibility v5 webApp) if you need inspiration.
Please create this webApp workflow (example taken with Page compatibility v5):
Then define the query activities as is:
you can filter on @address of broadLogRcp, it is the short path instead of recipient.email:
Then the same with trackingLog, but you must use recipient.email:
Now the page tables for displaying the results
Insert a table object, and choose the query XML object related in path for broadlogs:
Do the same with trackingLogs:
Hope this helps.
Hello Jean-Serge Biron
I follow your tutorial and I encounter a strange issue, here is what happened when I input an address email :
The error mention that I'm using a boolean but when looking at my variable, I'm using a text in the screenshot below :
Is it the correct way to put the variable in the storage like mention in your tutorial ?
Also, one more question about this part :
At the step "Valeur" and "Pris en compte si", is it okay if i write down those lines by hands without using any function ? (I'm not good in that part) I have the same result as you but I don't know if Campaign will like if I write those lines by hands.
My expression right now looks like as follow :
Thank you in advance !
Indeed, to make sure the Web App works, i test it on another instance on my own and it works fine after 15-20 seconds.
So my first request is complete and I don't need more information about that. I will talk with the admin on the main instance to see hat he can do about what you just say previously.
Thank you so much for all the explanations and tutorials. I mark your first solution as correct
Have a great day !
Yes, broadlog and tracking logs are huge tables, and the query could last some seconds, but 10 minutes seems abnormal, because email fields are indexed.
For comparison, it takes about 1 minute for me for 14 millions of contacts and broadlogs/trackinglogs purge after 1year and half.
I tried with limiting the result set of the 2 query activities to 100 lines or not limiting at all, the same response time.
(the matter of this limitation treshold would be to reduce RAM memory dedicated to XML context, but in that use case, only one recipient so the volume is quite small).
One optimization may be: find first the recipient.id corresponding to the email entered in the form field, then search the trackinglogs and broadlogs by using the recipient.id.
I made the modification as follow and I don't get the error anymore but the loading for the information to display is really long and doesn't seem to display them (waiting for a good 10min)
Any idea where this can coming from ?
Regarding the Filter parameter screen in Query activity, the problem is that this fields form is quite buggy with special characters management, often it generates bad escaping chars; so the best is to use the Advanced editor to circumvent such issues;
Often with direct type in field, backslash are added.
when line is selected, and appears as this when you are in the field:
The same for the Value to this:
Then, it should resolve your issue about boolean type, because I guess Adobe Campaign is misleaded/wrong issue reported.