Hi Fago,
Again, with relation to the Node lock, here's a problem I have:
I'd like to invoke an action when user tries to revert/ delete a node revision that is locked.
However, the revisions themselves are not set to the CCL links, so the machine state is not passed.
I think of two options:
1. create a checkbox in the CCL settings - "change state for revision as well".
2. The current revision state should pass to WF-ng

what do you think?

Comments

fago’s picture

hm, the state is already stored for a revision, not for a whole node. so it's possible that different revisions have different states. So what you would need is probably a possiblilty to get the "active revision's" node object...

amitaibu’s picture

should I - try to :P - implement it through a new module, or should try to find a wf-ng solution for this?