Question

Photo of Scott Conger

0

How to replicate a Workflow from one dev environment to another

This is kind of a follow up to Terry's question.  

We've look at the RockMigrationHelper.  It has adds and deletes for page, block, attribute, definevalue... but workflows are only update.  How are you moving workflows between environments?  One of our developers tried to script it in SQL, from what he said it was rather difficult to get the ID and GUID correct unless the environments were identical.

  • Photo of Rock RMS

    0

    We'd recommend using one of our dev tools, specifically the CodeGen_WorkflowTypeMigration.sql (in the \Dev Tools\Sql folder).  Basically edit that script and add any GUIDs for any Workflow's that you want to ignore to the #knownGuidsToIgnore table then run the script.  It will pump out the necessary migration code to create the workflow(s) you can then use in a migration to use in a project or other environments.