Select to view content in your preferred language

General Evaluation Error

119
1
Jump to solution
11-18-2024 05:46 AM
mlguanes
Occasional Contributor

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?

Screenshot 2024-11-18 084350.png

0 Kudos
1 Solution

Accepted Solutions
mlguanes
Occasional Contributor

I'm an idiot. I double checked the name of my Database Sequence and there's a typo in the name 😬

View solution in original post

0 Kudos
1 Reply
mlguanes
Occasional Contributor

I'm an idiot. I double checked the name of my Database Sequence and there's a typo in the name 😬

0 Kudos