I'm writing my first plugin for use with process builder. I read the docs, I've seen a few code examples and I don't see what I'm doing wrong.
The flow is defined on update of my custom SObject. I need to update some of it's field and as the logic is not trivial and uses custom settings I need to write some code instead of immediate field updates. My problem is that the SObject passed to the invocable method appears to be read only.
Do I need to use triggers instead?
Anyone would like to speculate why was the limitation imposed?