I set up an attribute rule to populate the next ID in the sequence that includes the existing format of my organization's table, code listed below:
Concatenate('P', nextsequencevalue("addressid_seq"), '', '000000')
It worked when I initially added it, but after I added other attribute rules it started spitting out this error:
Failed to create CURRENT.
Failed to evaluate Arcade expression. [
Rule name: AddressID,
Triggering event: Insert,
Class name: AddressPoints,
GlobalID: {EB00FB96-A92F-4833-B1F7-16B4A52B70BC},
Arcade error: General evaluation error,
Script line: 1]
Here is the attribute rule input - I have "Exclude from application evaluation" checked.. Anybody have any suggestions?
Solved! Go to Solution.
I'm an idiot. I double checked the name of my Database Sequence and there's a typo in the name 😬
I'm an idiot. I double checked the name of my Database Sequence and there's a typo in the name 😬