You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
| tasks | GET | JSON | Get unassigned tasks or tasks assigned to current user |
18
-
| tasks/:id| GET | JSON |EnsLib.Workflow.Worklist object|
19
-
| tasks/:id| POST | JSON |Processing of modified object |
17
+
| tasks | GET | JSON | Get unassigned tasks or tasks assigned to the current user |
18
+
| tasks/:id| GET | JSON |Get detailed information about task |
19
+
| tasks/:id| POST | JSON |Process task modified by a user|
20
20
| test | GET | JSON | Test info |
21
21
22
22
@@ -163,12 +163,12 @@ After you received main information about available tasks, you can see it in mor
163
163
```
164
164
165
165
It's just a JSON representation of [EnsLib.Workflow.Worklist](http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=ENSLIB&CLASSNAME=EnsLib.Workflow.Worklist) object.
166
-
This request provides enougth information to display task to the user.
166
+
This request provides enough information to display task to the user.
167
167
168
168
## POST tasks/:id
169
169
170
170
After a user is done working on a task, you need to notify Workflow engine about a new state of a task. To do that, execute this request, with the JSON representation of EnsLib.Workflow.Worklist object (received from the previous request) as a body.
171
-
To express changes made by user, modify EnsLib.Workflow.Worklist object:
171
+
To express changes made by a user, modify EnsLib.Workflow.Worklist object:
172
172
173
173
- Set `Task.%Action` property to one of %Actions values or `$Accept` to accept a task, `$Relinquish` to relinquish task and `$Save` to save changes made to a task
174
174
- Provide `Task.%FormValues` as an array with keys from `%FormFields` and values provided by a client
0 commit comments