Replace with "406 Replace/Reserialize criteria are invalid" error message
I have a global field with a drop down box value list. An “OnObjectModify” script trigger performs a script (described in the attachment) that finds records in a join table for a given date, goes to the first record of the found set, sets a “target” field (a foreign key field) to a “target” value and calls on the script step “Replace” to change the rest of the values in the found set (for the “target” field.)
Here’s the problem. While testing this action, I did not check the "Perform Without Dialog" option. Everything worked fine.
Now, after checking the "Perform Without Dialog" option, I get an error 406 message (“406 Replace/Reserialize criteria are invalid”.)
This is repeatable. Anyone have a suggestion? I know I can do a loop to make the replacements, but that is always slower for the user.