Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested custom event check related change #432

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

hani-iterable
Copy link
Contributor

@hani-iterable hani-iterable commented Aug 15, 2024

JIRA Ticket(s) if any

Description

Criteria matching does not occur of multi nested criteria

Test Steps

Please try following the steps outlined in the ticket.

@@ -372,7 +372,10 @@ class CriteriaCompletionChecker {
}

private getFieldValue(data: any, field: string): any {
const fields = field.split('.');
let fields = field.split('.');
if (data?.eventType === TRACK_EVENT && data?.eventName === fields[0]) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this relevant only to TRACK_EVENT? Or are there other events that are also affected by this issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for all whose event type is customEvent

Copy link

@davidtruong davidtruong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFTM

@davidtruong davidtruong merged commit fc1d7ec into AUT_main Aug 19, 2024
1 check passed
@davidtruong davidtruong deleted the MOB_9055_nested_custom_event branch August 19, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants