Can I abort requests processing using AEP SDK and Launch? | Community
Skip to main content
Agustin_Suarez
December 9, 2019
Solved

Can I abort requests processing using AEP SDK and Launch?

  • December 9, 2019
  • 2 replies
  • 4995 views

Hi,

Imagine this scenario: one developer has wrongly created a new trackAction call that is generating unnecessary requests. Is there a way to intercept them in Launch and avoid them to be processed? Something like s.abort = true for web environments?

Or I am seeing it from the false perspective? Our app developers are used to send trackAction and trackState calls... And I think that this will still be needed in the code, as actually under trigger conditions in Launch I can only pick between trackState, trackAction, collect PII & Launched. I was expecting to be able to tell developers just to send context.Data information, and depending on the values sent, send a specific call to Adobe Analytics (à la dataLayer.push for web environments)

I am totally new to App Tracking (the only experience I have is by using processing rules in the Analytics Admin page), so please understand my lack of certainty.

Best Regards,

Agustin

Best answer by IvanMi1

Hi @agustin_suarez  you are correct that at this time we need all the trackAction and trackState calls to exist in the app. The data elements in Launch and the rules engine operate off of data variables collected in the application. Re: your abort question, we do not have the capability to stop a call from within Launch. That is an idea we can take in for the future. 

 

Thanks!

-Ivan

 

Edited - 8/17 - We now have a new action for Mobile Core that will allow you to modify, change or remove event data flowing through your mobile implementation. Please see: https://aep-sdks.gitbook.io/docs/resources/user-guides/modify-data for additional information.

 

cc - @charles_thirupathi 

2 replies

IvanMi1Adobe EmployeeAccepted solution
Adobe Employee
March 3, 2020

Hi @agustin_suarez  you are correct that at this time we need all the trackAction and trackState calls to exist in the app. The data elements in Launch and the rules engine operate off of data variables collected in the application. Re: your abort question, we do not have the capability to stop a call from within Launch. That is an idea we can take in for the future. 

 

Thanks!

-Ivan

 

Edited - 8/17 - We now have a new action for Mobile Core that will allow you to modify, change or remove event data flowing through your mobile implementation. Please see: https://aep-sdks.gitbook.io/docs/resources/user-guides/modify-data for additional information.

 

cc - @charles_thirupathi 

Charles_Thirupathi
August 17, 2020
@450 Ivan_Mironchuk
Pradeep-Jaiswal
February 21, 2025

I have built solution to handle this scenario. You can review here https://www.linkedin.com/feed/update/urn:li:activity:7297729900529008641/