Hi, I am trying to trigger a plugin on creation of a custom entity. So, in the plugin I am trying to grab the ID of the record and use that ID to create related records under it. I've registered the plugin on create post operation(sync). The problem is the newly created record ID is accessible during debugging but when I use it to create a reference, I am seeing that record ID does not exist error.
What should be the plugin configuration? Why can't I use the newly created record ID in the plugin? Some one please shed some light on this issue.
Thanks for any help.







