An error occurred while trying to write to the entity "HCMSCUSTOMERDETAILS" [id=f00b0dce-cd90-40a5-b31b-961142ace14d@4222, type=HCMSCUSTOMERDETAILS (id=4036)] (data store: HCMSCUSTOMERDETAILS). Details: java.lang.IllegalArgumentException: The record to be saved must not be null: TypedValue[it=4036,v=<null>] Data: TypedValue[it=4036,v=<null>]
error in Process Model, what is the meaning
Discussion posts and replies are publicly visible
The last part of the error message
Data: TypedValue[it=4036,v=<null>
tells you, that the data you wanted write to the database is empty.
An error occurred while trying to write to the entity "CMS_Approval" [id=6e428a6b-3e06-4c10-88da-dd1539a8ff24@4127, type=CMS_Approval (id=3994)] (data store: CMS_Approval_DS). Details: java.lang.IllegalArgumentException: The record to be saved must not be null: TypedValue[it=3994,v=<null>] Data: TypedValue[it=3994,v=<null>]
another process model also get same error
With probably the same root cause. The value you pass is empty.
no sir, I pas all the values & its not empty
here,if i cancel then also it goes to user input task?
Please check process monitoring for the actual values. Can you post a screenshot of the write to datastore node configuration.
try keeping xor gate after user input task
Why? There is a process start form.
You will need to analyze the data flow starting with the process start form. Is the data really passed to the process when submitting. Do all process variables contain the expected values?
keeping xor gate after user input task
error coming
what is the condition you are using in this gateway?a!isNullOrEmpty() check for the pv you try to store in the writetodatastore node?docs.appian.com/.../fnc_informational_isnullorempty.html