Accessing result of 'Bulk Operation' transaction outside of transaction

Hello! I am trying to upload a list of objects to a table called Claim and another table called ServiceLine inside of a transaction.

According to the Transaction API, the result of these operations should be a collection of objectIds

However, when trying to reference these object ids outside of the transaction, I’m running into errors (null values) despite the object being created in the database. I’m wondering if there is a way to legitimately reference these values outside of the transaction once the transaction has been run?

Transactions (with all the operations you put in them) run on the server. This means you can obtain the objectIds at the time when create an operation - those IDs don’t exist at that time yet. To get the values you want, you need to introspect the result of the actual transaction. Result of every included operation will be available there.

Hope this helps.

Mark