Skip to content

Get returned value and pass prop to the method session.addItems() #707

@RiccardoRomagnoli

Description

@RiccardoRomagnoli

Hello, I would need to store the ids of the newly created items after an agent run, those ids are generated inside the addItems() function. Also, another option would be passing a prop to the addItems() method so that I can store a context to it. I'm using prisma.

Is there a way to get from the agent run the value returned by the function addItems()? Or is there a way to pass a prop to addItems()?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions