Skip to main content
Question

How do I compare the total record count of the same 4 feature classes in 2 file geodatabases and then send a notification email if the counts are exactly the same?


kmc5678
Contributor
Forum|alt.badge.img+2

I'm currently using a file gdb reader, a statistics calculator to get the total counts, attribute manager to create fields called Today_Count and Yesterday_Count and then the conditional value in attribute manager to try and compare the two counts and return a 1 if they're exactly the same but I can't seem to get the comparison to happen. Also how do I set this up so that if the counts are exactly same I can send out an email notification?

Screenshot 2023-06-02 144201Screenshot 2023-06-02 144324Screenshot 2023-06-02 144411Screenshot 2023-06-02 144302

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+52

You need to get the two rows in one to make the comparison. One way to do this is to use an Aggregator. Merge attributes. Then you can use a tester to test if Today_Count = Yesterday_Count.


kmc5678
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • June 13, 2023
nielsgerrits wrote:

You need to get the two rows in one to make the comparison. One way to do this is to use an Aggregator. Merge attributes. Then you can use a tester to test if Today_Count = Yesterday_Count.

Thanks nielsgerrits!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings