Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Inserting Records - Primary Key set to database sequence?

Hi for all. Before reading please see here that is the similar question. I created an mssql database with primary key and auto increment 'id' column. Sql connector(insert row action) didn't ask me 'id' column on connector as supposed because database is automatically insert 'id' column.


However with postgres insert row action, flow asks me 'id' column whatever i do. Beside it didn't work stable. With stable i mean that: Sometimes(very rare) even if insert row action failed, it insert the datas with correct id. But i can't see the logs.


I though that my database table settings is wrong but i can insert data manually without insert 'id' column cause it is auto incremented. 


I tried that:

BIGINT instead INT ---> Didn't work

My_Table_id_seq && primary key && unique && not null ---> Didn't work


Please help is this because of flow or because of me?


By the way i started my postgres database inside docker container.

 Docker env: Azure VM ubuntu 16.04

Flow env: Windows 10.

Used  on-premises data gateway






Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,704)