raoul2000 / yii2-workflow

A simple workflow engine for Yii2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Is it possible populate a getDefinition method with relations?

bmsrox opened this issue · comments

Question: Is it possible populate a getDefinition method with relations?
commented

getDefinition must return the workflow as an array (see Workflow Creation : PHP Source)

I am using your extension to other way. i make the getDefinition dynamically

commented

as long as you return the correct array structure, it should work ok

commented

full source code of this site is available at https://github.com/raoul2000/yii2-app