Change in attribute in after create is not commited if object is created in Native profile

0
Hi, We have a Native profile where we make an object. This object is synced with the server and the After create flow is triggered. We change an attribute in this after create but this change is not commited. When for debugging purposes we also added a before commit that did nothing except allowing us to check the object in de debugger, we saw that the attribute is not changed. The After create flow is triggered first, and then later the before commit. Any suggestions on what's going wrong?
asked
1 answers
0

Jesper,

Does the userRole that triggers the Create of the object on the client side (so in the native app), have Write access to the attribute that is changed in the After Create? Try this, since the After Create is triggered by the sync from Native and thus needs the User Write access to this attribute.

answered