Insert result missing id

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?

1 Like

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

@Simphiwe @Sam please support

@Bartek Is the ID manually provided in the input, or is it auto-generated by the database?

1 Like

@Bartek,

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

1 Like

I saw that article, but it’s not working as expected

The ID is auto-generated by the database

2 Likes

Thought you were trying to return id u generated. Thanks for clarifying.

1 Like

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!

1 Like

I was able to return mine.

1 Like

I was able to solve this issue by generating the ID. Not a real solution, but at least I’m unblocked

2 Likes

ALryt man glad you got it.

1 Like