Expandir minha barra de realizações na Comunidade.

SOLUCIONADO

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!

Tópicos

Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.

1 Solução aceita

Avatar

Resposta correta de
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".  

Ver solução na publicação original

2 Respostas

Avatar

Resposta correta de
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