Discussion posts and replies are publicly visible
Hi Stefan HelzleI have received the following error message from a process.An error occurred while trying to write to the entity “US_Profile” [id=25681974-d814-4cdd-9f2c-61bdb807f8bc@15915, type=US_Profile (id=3346)] (data store: US_Data store). Details: java.lang.IllegalArgumentException: The record to be saved must not be null: TypedValue[it=3346,v=<null>] Data: TypedValue[it=3346,v=<null>]
Recommended Action: Examine the activity class to correct the error and then resume.
Priority of this problem: High PriorityWould really appreciate if anyone can suggest a solution to such errors.
Hi, this error occurs when the value is not passed ot one of the non nullable columns in the database table. It will help if you compare the CDT from the run time process against the table definition.
I wonder if you could also check the security on the datastore. It's possible that its permissions are set to be too restrictive; from what I read Appian always defaults to only System Admins being able to read and write to datastores (other responders please correct me if I'm wrong).
You can "run as" someone who does have the proper rights in this process model, but you'll have to keep doing it over and over every time you need to use it in future development, or you could just update permissions properly once on the datastore itself.
Provided, of course, that this is what the issue even is.
© 2024 Appian. All rights reserved.