Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit bab2d8f

Browse files
authored
Docs
1 parent 239f3c8 commit bab2d8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ These are the possible requests to web application (add param `?Namespace={Desir
1414

1515
| URL | Type | Response | Description |
1616
|-----------------------------|------|-----------|--------------------------------|
17-
| 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|
2020
| test | GET | JSON | Test info |
2121

2222

@@ -163,12 +163,12 @@ After you received main information about available tasks, you can see it in mor
163163
```
164164

165165
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.
167167

168168
## POST tasks/:id
169169

170170
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:
172172

173173
- 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
174174
- Provide `Task.%FormValues` as an array with keys from `%FormFields` and values provided by a client

0 commit comments

Comments
 (0)