Good day,
Apologies for delaying with response.
There are three fields:
- Lithology (Lith) - domain list with more than 30 values with two specific ones interesting for us - "Silica Rock" and "Tuff"
- Protolithology (Protolith) - domain list with more than 30 values with specific one interesting for us - "Tuff"
- Lithology Texture (Lith_text) - domain list with more than 10 values
Lithology Texture field required when:
Lithology Texture field NOT required when:
- Lithology = "Tuff"
- Lithology = "Silica Rock" AND Protolithology = "Tuff"
My expression:
1 DomainName($feature,"Lith")!=null||
2 DomainName($feature,"Lith")!="Tuff"||
3 DomainName($feature,"Lith")!="Silica rock"&& DomainName($feature,"Protolith")!="Tuff"
It works with first line only.
Two others are not working i.e. Lithology Texture field with asterix (still required)
P.S. Expression
Any([
DomainName($feature,"Lith_1")!=null,
DomainName($feature,"Lith_1")!="Tuff",
DomainName($feature,"Lith_1")!="Silica rock"&&DomainName($feature,"Protolith1")!="Tuff"
])
return: Test execution error: Execution error - Call with wrong number of parameters. Verify test data.