Hi,
I'm trying to update the DB and all the fields are getting updated except Employee Id.
Value for EmployeeId is getting updated in Process model Variables as below but not getting updated in DB.
Discussion posts and replies are publicly visible
If your process variable pv!applyLeave is written to that record, it misses the primary key value. This results in an insert, but not an update.
BTW, the images are very small and almost impossible to read.
Hi Stefan,
Could you please let me know what I need to do to resolve this. Attaching the images again
To update a record, you need to query the existing data first. It will then contain the primary key field you defined.
Hello Pavitra, you can use a script task and pass the stored value/input value of employee record type(employeeId:pk) into the Apply leave record type variable.