简体   繁体   中英

Azure-logicApps-INSERTING ENTITY INTO A TABLE

i have created a HTTP post request using logic apps and inserting that in a table. so i need the row key to be 1,2, and 3 so on. when i insert first entity it Should be 1 and for next entity it should 2 so on. i have tried Guid no solution. please if someone knows share the answer.

在此处输入图像描述

If you really need to avoid guids, you have to use other ways to implement auto-increment, you could create a queue or a table entity with your next ids to use.

In the logic app before do insert action, read the queue or entity, increment and save it then insert with the value you read.

The below is my test logic app, use a itemid table to store the auto-increment id and insert the id as rowkey to destination table test . Then replace the entity in the itemid table with the new id value.

在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM