Select to view content in your preferred language

Relationship class with rules appearance in ArcGIS Pro

426
2
Jump to solution
01-26-2025 02:55 PM
PierreloupDucroix
MVP Regular Contributor

Hello,

after adding rules to a relationship in order to limit relations with only some subtypes, I can see that it is not reflected in Pro interface.

Here you can see that only Hydrant can have a relation with a hydrant inspection, however when selecting a Valve, the hydrant inspection relationship is still visible. Is this the normal behavior ? I would expect that the relationship is limited to valid subtypes.

PierreloupDucroix_0-1737931912446.png

PierreloupDucroix_1-1737931949158.png

Note :  when trying to add a hydrant maintenance in relation with a valve, I get the expected behavior :

PierreloupDucroix_2-1737932107221.png

 

 

 

CEO of MAGIS
1 Solution

Accepted Solutions
PierreloupDucroix
MVP Regular Contributor

Hello, I opened a support case a year ago, and the bug has been reproduced and referenced here:

https://support.esri.com/fr-fr/bug/rules-enabled-on-a-relationship-class-are-not-honored-b-bug-00017...

I also found another bug that seems to describe the same behavior:

https://support.esri.com/fr-fr/bug/relationship-class-rules-that-are-set-to-restrict-relat-bug-00013...

The workaround is to duplicate the layers instead of using subtype group layers, but this doesn't seem relevant for a utility network.

CEO of MAGIS

View solution in original post

2 Replies
MHeadley
Occasional Contributor

So, just adding the Relationship Class Rules caused the error message?  I've tried reproducing this behavior with no success... I am still able to add a maintenance records to the Hydrant Maintenance table when features other than Fire Hydrant are selected.  I'm wondering if a Validation Attribute Rule would be the way to go... my fear is that editors will accidentally add maintenance records to the wrong tables... I was hoping there was a way to only show relationship classes per subtype, but haven't figured it out yet.

0 Kudos
PierreloupDucroix
MVP Regular Contributor

Hello, I opened a support case a year ago, and the bug has been reproduced and referenced here:

https://support.esri.com/fr-fr/bug/rules-enabled-on-a-relationship-class-are-not-honored-b-bug-00017...

I also found another bug that seems to describe the same behavior:

https://support.esri.com/fr-fr/bug/relationship-class-rules-that-are-set-to-restrict-relat-bug-00013...

The workaround is to duplicate the layers instead of using subtype group layers, but this doesn't seem relevant for a utility network.

CEO of MAGIS