verified = 0; $node->platform = $platform_id; node_save($node); } else { return drush_set_error('PROVISION_FRAMEWORK_ERROR', dt("Could not find the node for platform path %platform", array('%platform' => $platform))); } // TODO: post migration tasks // - turn on new cron job // - save the drush log to the migrate task and set proper status }