Hi all,
I have an Calculate Attribute Rule defined on ElectricJunctionObject table of the Electric UNM. The attribute rule sets a business attribute when valid SubnetworkName is set. Workflow is,
1. CRM to UNM System integration creates a record in ElectricJunctionObject. The record represents a new customer. A flag is set for the record as "Validation Pending".
2. UNM data editor views records with "Validation Pending" in ArcGIS Pro. User connects the record to a "Service Point" asset type in ElectricJunction feature class using Modify Association tool. This makes new customer part of the connected model.
3. User runs Update Subnetwork geoprocessing tool to ensure ElectricJunctionObject has SubnetworkName populated.
4. A Calculate Attribute Rule trigger is supposed to fire on "Update" action with SubnetworkName changing from "Unknown" to "FeederABCD". Attribute rule is defined to set a flag on ElectricJunctionObject to "Validation Complete". Logic is simple as, see below.
if ($feature.ISCONNECTED == 1 && $feature.SUBNETWORKNAME != 'Unknown' && IsEmpty($feature.SUBNETWORKNAME) == false)
{
return 1;
}
else {
return 0;
}
I can see that Update Subnetwork tool changed the SubnetworkName from "Unknown" to "FeederABCD" but ProcessingStatus is still 0 (Validation Pending). If I edit another trivial business attribute such as "Notes" on the ElectricJunctionObject, ProcessingStatus changes to 1 (Validation Complete) meaning trigger fired.
Is "Update Subnetwork" tool somehow stops Arcade Calculate Rule from firing? If so, how can I configure it to not prevent Calculate Rule.
@MikeMillerGIS any idea?
Thanks,