Primary key is not incremented correctly in the custom schema
Dear Community's Leaders,
I have created custom schema but auto primary key is not incremented correctly.

schema structure: I have used auto pk true

I tried community suggestion to solve this issue through workflow using SQL code activity, still I am getting error.

SQL:


Can you please help me this.