Different namespace and workflow history?
vitovtnet opened this issue · comments
Viktar Kamiahin commented
- When I use another namespace
namespace backend\models
I get error. (Expected app\models on my PostWorkflow class)
- Can I see workflow history? When and who changed status?
raoul commented
-
To use your own namespace (and not rely on the default one) see this chapter from the doc.
-
Workflow history is not a feature provided by yii2-workflow. However that is quite simple to implement by (for example) adding a event handler on the change status Event.
ciao