Just an idea after a quick look at the code. You can use flag module with it's integration to the Rules module. So instead of having a {completed} table, you can have a flag and count the number of flaggings, each flagging represents a step.

Comments

pvhee’s picture

Version: » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Thanks for having a look at the code! Indeed, flags could be used to record the number of times an actions has been run, but as far as I know flags works for nodes, users, and comments. The complete module could maybe use the flags table to record the steps, but that's about all it would be useful for I think, and it would 'abuse' the flag table that has other purposes beyond the scope of the complete module too.

However, I would need to study the flag module better, so feel free to comment on this!

pvhee’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

There is no relation between the flags module and the complete module and thus a dependency shouldn't be created.