This invocation calls a function that has the 'no_rollback' effect, which is not allowed by its context.

I am getting this error and am not sure how to resolve it?
I seem to get this a lot when working with arrays of devices and trying to use the functions attached to them.

Hi,
I am thinking you need to create an intermediary function with the transacts specifier, and have the array call that function to call the Item Granter. It is like you are pairing a failable expression to call the Item Granter, but GrantItem doesn’t have the transacts specifier, and it needs rollback. If you have your array call an intermediary function, and then have that function do a simple call to GrantItem, you can bypass the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.