Hi @arash_hokm, you can do this either in your writer or by using a FeatureWriter. In either case, go into the parameters and then into the User Attributes tab. You can then use the Index column to set the attribute you'd like as PrimaryKey. You can find more detail in this article. I hope this helps!