There is some requirement therefore we are thinking to create custom workflows. There would be some additional tasks and operations but workflow invocation would be same as workflow rules.
We will be create workflow on some object and there would be some entry criteria. Workflow would get fired on object record creation or modification. Everything is fine as concerned with workflow rule, criteria and tasks.
My question is how would i call that custom workflow when user create or modify records? One solution that comes in my mind is write a trigger on every object manually on which we are creating workflows. Is there any other better approach?