Skip to content

Using Smart Filter for nested structure #4408

Closed Answered by jay-pawar-mastery
jay-pawar-mastery asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to figure it out. I had to put quotes around net.companyname.LoadMatchFound and also add string following the load_code at the end. Posting the solution.

def event_type = value."event_type"
def loadCode = value.match_found."net.companyname.LoadMatchFound".load_code.string
event_type == "MATCH_FOUND" && loadCode == "1000300038"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jay-pawar-mastery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant