Sean,

The idea with your own implementation of the ActivationFlowCommand should work. You can store values in the LaunchItem and use them in the workflow definition just like startDate and endDate. Or you can override getWorkflowName() to select the workflow.

Did you try the path mappings? Maybe you can use them instead of creating a new Command class.

Currently there is no tool available to see the workflows in progress, sorry.

Ralf

McMains, Sean A schrieb:
We have about 200 sites in our Magnolia installation. We’d like to implement workflow for our system, with a very simple flow for most of the sites, but a more complicated one for other sites. I found the “Two Sites Two Workflows” page on the wiki, which is very helpful:

http://wiki.magnolia-cms.com/display/WIKI/How+to+dispatch+the+workflow+to+a+different+group+depending+on+the+path+of+the+activated+page

Unfortunately, it requires hardcoding information for each site into the workflow. It would be great if, in our case, we could query the JCR to determine which branch in the workflow to use. Is that possible?

I do see in the sample workflow that startDate and endDate are available to the workflow. It appears that these receive special treatment in ActivationFlowCommand.java to bring them into scope in the workflow. Would providing our own implementation of this command that grabs the data from the JCR we want be the best approach here?

Also, is there any way for an administrator to see all the workflows that might be in progress throughout the system? That would be important for our support folks.

Thanks for any help or direction!

Sean

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to