Forum Discussion
bwunderlich
3 months agoCollaborator
No Action in Data Transformation
Hi!
We are using a data transformation (Track users) to receive events from our loyalty system. As not every incoming event shall trigger any action, I would like to tell the transformation to "do nothing".
For this I tried
return {}
or
const brazecall = {
attributes: [],
events: []
};
return brazecall;
Both led to an error. Is there anything I can return to make Braze do nothing and not causing an error in the transformation log? Thanks!
Best regards
Benjamin
1 Reply
Sort By
- MaxExpert
Hey bwunderlich, did you find a solution for this? If not, I would try it the other way round. Prepend an if statement to make the track user call only run if the event name is equal to the event you want it to work for.
Related Content
- 2 years ago
- 2 years ago