The first one looks fine. I can't actually quite tell what you're trying to do with the second one. You're getting the case id from a different case by a linked ID? For what it's worth I'm not sure that's a use case we're super happy to support. If we use an index instead of an arbitrary case property it won't be possible for the other case to not be on the phone