How to get the FN and LN if not present in source?

HI

I have a scenario where i need to take the FN and LN from the particular source if not present take from the differnet attribute from the same source. If present the email should be [email protected] else the new fn.ln@emailcom.

I have tried with FirstValid and static but it throwing the seaspray template error.

Thanks.
Mark

Can you put the code here so that i can check where you missed the values or something…

3 Likes

I have checked with the JSON validator it looks fine for me.

Have you check the null values sometimes if you haven’t check the null values it may through the error

4 Likes

Nope i haven’t given that le me rectify that and let you know if it works. Thanks for the input @Santhakumar.

Sure. Always check the null values in the firstvalid transform.

3 Likes