Expand my Community achievements bar.

SOLVED

Need Help with Multiple Derived Fields in CJA and Getting Values

Avatar

Level 5

I have two derived fields. The first one, "Mobile App Version" filters out specific values using the Regex Replace" function. The second one, "Mobile DL Version" filters out specific values using the Regex Replace" function. Both are created as dimensions. What I want to do is check if "Mobile App Version" returns a value then use that value. If no value from "Mobile App Version", then check if "Mobile DL Version" returns a value, then use it. If neither returned a value, then return the string "Invalid Version". How can I do this?

 

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

I figured a way to do it. I had to use the "Merge Fields" function and then a regex to get the values I wanted and then a Case function to check if the value was set return it, otherwise return "Invalid Version".  

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

I figured a way to do it. I had to use the "Merge Fields" function and then a regex to get the values I wanted and then a Case function to check if the value was set return it, otherwise return "Invalid Version".  

Avatar

Administrator

Thanks @MichaelJo13 for sharing the solution with the Community! 🙂



Sukrity Wadhwa