swf_register_workflow_type function

Registers a new workflow type and its configuration settings in the specified domain