Posted: 17 Jun 2020 7:24 EDT Last activity: 26 Nov 2020 16:09 EST
Error: Process --- Record is stale
I just check-out/check-in a process flow without making any changes.
When saving, I am receving an error saying that the process is stale.
The draft mode is off.
I tried to refresh the browser and repeat the scenario but I am getting the same error.
The scenario is as follows (for clarity): Refresh the browser > Try to save the case > "Sucessful" > Open process flow > Check-out > No changes > Check-in (Without even saving the process) > Try to save the case > "Error"
When you open the Case Type in Case Designer, data associated with the stages and processes are loaded into the Clipboard. This includes data for the flow rules, such as the pxUpdateDateTime. When you check out a flow rule and check it back in, the pxUpdateDateTime will be modified. Then when you try to save the Case Type rule in Case Designer, the pxCheckIfStale activity checks the pxUpdateDateTime of the flow data already loaded for the Case Designer pages with the pxUpdateDateTime for the flow rule in the database and finds they are different. This causes the pyRecordAPI-RecordIsStale message to be set.
You will need to select Actions > Refresh on the Case Type in Case Designer after checking out/checking the flow.