Like it is pointed out here, there's no possibility to start or especially transition workflows per script because the WorkflowContext is needed.
Creating task on a store element per script doesn't make much sense without the possibility to transfer it to the next state.
I really would like to have this possibility.
Regards
David Penack