Hi,
I need to get the full object that’s inserted to db, but the result somehow just contains the input data.
I’m not getting the object’s id.
What should I do to get it?
Hi,
I need to get the full object that’s inserted to db, but the result somehow just contains the input data.
I’m not getting the object’s id.
What should I do to get it?
Hi @Bartek,
You want to get it as a response after inserting ??
Yes, I need that. I need to pass it to Case Manager
bh.local.result contains only the input data
@Bartek Is the ID manually provided in the input, or is it auto-generated by the database?
Correct me if am wrong, it sounds like the insert node response is mapped to the same variable asthe input data.
I have attached the insert node documentation link below, check it out.
Insert Node
I saw that article, but it’s not working as expected
The ID is auto-generated by the database
Thought you were trying to return id u generated. Thanks for clarifying.
Might be that the insert node does not return the actual stored row from the database. Instead, it returns Exactly the same object you passed into “Insert Object”. i stand to be corrected!
I was able to solve this issue by generating the ID. Not a real solution, but at least I’m unblocked
ALryt man glad you got it.