Get workflow definition

Returns a workflow definition by name and optional version.