Create a workflow process
Creates a workflow process and then creates an association between the started workflow process and a model repository object. Returns a specific workflow process that was associated with SAS Model Manager and the association for that workflow process to a model object. It is possible to start a workflow process but not be able to create the workflow association, which produces an error response. The workflow is managed and authorized within the Workflow service. The process is available only if it has a client registration ID for SAS Model Manager. Authorization: By default only users in the ApplicationAdministrators group have access to this endpoint. Authorization rules can be added to this endpoint for any set of users or groups to allow access to the associated information.
1{2 "creationTimeStamp": "2021-05-06T20:21:04.420Z",3 "createdBy": "sasdemo",4 "id": "WFcd404a82-af5b-4835-9672-9730470a6be8",5 "name": "wf_demo",6 "state": "In Progress",7 "links": [8 {9 "method": "GET",10 "rel": "self",11 "href": "/modelManagement/workflowProcesses/WFcd404a82-af5b-4835-9672-9730470a6be8",12 "uri": "/modelManagement/workflowProcesses/WFcd404a82-af5b-4835-9672-9730470a6be8"13 },14 {15 "method": "GET",16 "rel": "alternate",17 "href": "/workflowHistory/processes/WFcd404a82-af5b-4835-9672-9730470a6be8",18 "uri": "/workflowHistory/processes/WFcd404a82-af5b-4835-9672-9730470a6be8"19 },20 {21 "method": "GET",22 "rel": "process",23 "href": "/workflow/processes/WFcd404a82-af5b-4835-9672-9730470a6be8",24 "uri": "/workflow/processes/WFcd404a82-af5b-4835-9672-9730470a6be8"25 }26 ],27 "associations": [28 {29 "id": "f2e6b321-f2a3-43b0-b39b-89414c51f789",30 "processId": "WFcd404a82-af5b-4835-9672-9730470a6be8",31 "processName": "wf_demo",32 "solutionObjectType": "MM_Project",33 "solutionObjectName": "sample_project",34 "solutionObjectId": "ab4ee493-0fe6-4348-8099-3a56ff5affd9",35 "solutionObjectUri": "/modelRepository/projects/ab4ee493-0fe6-4348-8099-3a56ff5affd9",36 "solutionObjectMediaType": "application/vnd.sas.models.projects+json",37 "creationTimeStamp": "2021-05-06T20:21:04.420Z",38 "createdBy": "sasdemo",39 "links": [40 {41 "method": "GET",42 "rel": "self",43 "href": "/modelManagement/workflowAssociations/f2e6b321-f2a3-43b0-b39b-89414c51f789",44 "uri": "/modelManagement/workflowAssociations/f2e6b321-f2a3-43b0-b39b-89414c51f789"45 },46 {47 "method": "GET",48 "rel": "process",49 "href": "/modelManagement/workflowProcesses/WFcd404a82-af5b-4835-9672-9730470a6be8",50 "uri": "/modelManagement/workflowProcesses/WFcd404a82-af5b-4835-9672-9730470a6be8"51 }52 ]53 }54 ]55}
Workflow process content to use in starting a process
The workflow object process request type describes what is required to start a workflow process.
Name | Type | Required | Description |
---|---|---|---|
variables | array [Variable] | false | The variables. |
association | object | false | The solution object to be associated with a running process. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The definition ID was not found. | Schema | |
406 | Not Acceptable | The solutionObjectMediaType was not acceptable. | Schema |