Greetings Esri Community,
I hope this post finds you well and that everything is awesome. I'm desperate. I am trying to write a rule that will generate a parcel number and calculate the Name field of the parcel parcel type in the fabric. I created a geodatabase sequence, written the calculation rule as a batch calculation rule, so I can run it manually at the appropriate time via the evaluate rules gp tool, and I get the dreaded 999999 error. This rule works in a file geodatabase, and in a feature service with the just the parcel fc and the validation fcs in the service. Therefore I am confident that expression works. I get the error when I run the evaluate gp tool on the parcel fabric service. Here are the details:
Ok I think that is everything. Thank you in advanced for any help you can provide. We're hoping to implement the pro parcel fabric in the upcoming weeks, and assigning parcel numbers is very important to our workflow. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi
Hello, Joe!
I haven't worked with database sequences extensively, but would these potentially cause problems if a new feature was deleted? The sequence continues to increment, and you could end up with skipped numbers, I think.
We have a few workflows with other departments in which a new ID needs to be identified in a sequence. Part of the ID is text, however, and the numeric portion resets every calendar year, so we had to figure out an Arcade-based way of deriving the next ID. We have had good success using the Max function against the whole layer, then incrementing 1 on that.
It could still be prone to errors, but it's an idea.
Greetings @jcarlson ,
That's an interesting thought. In the past, we have had luck with the arcmap equivalent of sequences, but you gave me something new to stew on. I might try something along those lines just to see if I can get something to work. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi
Have you tried
Greetings @JohannesLindner ,
Thank you for your response. I like your train of thought. I did just try your suggestion and it failed with the same error. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi
Quick update... I just upgraded to ArcGIS Pro 3.0. Ran into the same error.
I've run my nextsequencevalue rules as "immediate" rule type instead of batch. Does that make a difference?
Also have you checked the log files in ArcGIS server? Sometimes they record more details about the error than the edit window warning shows.
Greetings @DrewDowling,
Thank you for your response. I honestly cannot say that I have attempted to run the rule as the immediate rule type. In our workflow, we would ideally run the rule manually, and from what I have read, the rule would have to be the batch rule type in order to run the rule manually. If I have time in the coming days I will give that a shot.
The server logs aren't too helpful. I get a DeserializeEvaluateParams failure error in the server logs. I'm not really sure what that means, and I haven't found anything on Google about it. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi
Greetings @DrewDowling ,
I did just test creating the rule as an 'immediate' rule type and it worked... So that further proves that the expression is fine, but unfortunately that doesn't help me too much because I a need to run the rule manually. That being said, I like where your head was at. If we can figure out a way to adjust our workflow, this might be a good back up plan. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi
Hey Joel,
what was causing is DeserializeEvaluateParams is a bug in Pro causing Evaluate to send a very large payload when def queries or subtype group layers are in the map.
This bug was fixed in Pro 3.1, ported back to 2.9.6 and will also be included in 3.0.4
for reference BUG-000153528