def create(cls, data, **kwargs):
        """Create a new Workflow Object with given content."""
        with db.session.begin_nested():
            model = cls.dbmodel(**kwargs)
            model.data = data
            obj = cls(model)
            db.session.add(obj.model)
        return obj