@smartkomm/plexus-cli 0.1.166 → 0.1.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 69fdadd807dd9e8a1e422899205c2816e58bfaf139160b6e636b47a83192c643
1
+ 7cab33cb133e75ae5a143473de709836d12805f6c0c45e1c9b1380f39d133382
@@ -2299,7 +2299,7 @@ Edit a workflow node (label/assign-decision/form/target/contract/payment/routing
2299
2299
  | `--node <value>` (required) | Node id to edit |
2300
2300
  | `--label <value>` | New node label (German). A node with a real English label needs --label-en too |
2301
2301
  | `--label-en <value>` | New node label (English); alone it re-translates the current German |
2302
- | `--form-view <value>` | decision only: the form view the decision row is worked in: <formNode>:<viewKey>, empty removes it |
2302
+ | `--view <value>` | decision only: the view the decision row is worked in, a view address: form:<formNode>#<viewKey>; empty removes it |
2303
2303
  | `--assign-decision <value>` | decision only: replace the decision-row group key (this is the whole wiring) |
2304
2304
  | `--assign-team <value>` | waitlist only: permission-group key whose members may promote beside the responsible person (actionTeams.promote); "" removes it |
2305
2305
  | `--comment-required <value>` | decision only: replace comment-required outcome ids — <id>[,<id>] |
@@ -2484,8 +2484,8 @@ Add one composed task to a workflow node (result, blocks, condition, description
2484
2484
  | `--clear-reads` | Remove the reads list |
2485
2485
  | `--documents <value>` | Documents the task points at, shown as links under it: artifact:<own slot>, field:'$node.<formNode>.admission.<docRef field>', document:'$node.<node>.document' (comma-separated; replaces the list) |
2486
2486
  | `--clear-documents` | Remove the documents list |
2487
- | `--form-view <value>` | The form view the task is worked in: <formNode>:<viewKey> (an authored view, or documents / form) |
2488
- | `--clear-form-view` | Remove the form view |
2487
+ | `--view <value>` | The view the task is worked in, a view address: form:<formNode>#<viewKey> (an authored view, or documents / form), artifact:<slot>[#coverLetter\|contract], field:'$node.<form>.admission.<field>' |
2488
+ | `--clear-view` | Remove the view |
2489
2489
  | `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
2490
2490
  | `--clear-locks-evidence` | Remove locksEvidence |
2491
2491
  | `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
@@ -2555,8 +2555,8 @@ Change the given fields of one composed task; validate before write
2555
2555
  | `--clear-reads` | Remove the reads list |
2556
2556
  | `--documents <value>` | Documents the task points at, shown as links under it: artifact:<own slot>, field:'$node.<formNode>.admission.<docRef field>', document:'$node.<node>.document' (comma-separated; replaces the list) |
2557
2557
  | `--clear-documents` | Remove the documents list |
2558
- | `--form-view <value>` | The form view the task is worked in: <formNode>:<viewKey> (an authored view, or documents / form) |
2559
- | `--clear-form-view` | Remove the form view |
2558
+ | `--view <value>` | The view the task is worked in, a view address: form:<formNode>#<viewKey> (an authored view, or documents / form), artifact:<slot>[#coverLetter\|contract], field:'$node.<form>.admission.<field>' |
2559
+ | `--clear-view` | Remove the view |
2560
2560
  | `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
2561
2561
  | `--clear-locks-evidence` | Remove locksEvidence |
2562
2562
  | `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
@@ -40,13 +40,18 @@ and `documents` are the standard views every form has), and
40
40
  ## Bind a task to the view
41
41
  Opening the application for that task lands in the view; the reader may switch, and
42
42
  the task's own `--documents` still say which fields stay marked in it. The decision
43
- row is bound on its node, every other task on the task:
43
+ row is bound on its node, every other task on the task. `--view` takes a view
44
+ address — a form view, but also a document or one part of it:
44
45
  ```bash
45
- plexus-cli offer workflow node set --dir <bundle> --node <decisionNode> --form-view form:principal
46
- plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --form-view form:principal
46
+ plexus-cli offer workflow node set --dir <bundle> --node <decisionNode> --view 'form:form#principal'
47
+ plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --view 'form:form#principal'
48
+ plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --view 'artifact:contract#coverLetter'
47
49
  ```
48
- `[workItems/formViewUnknown]` refuses a view the form does not have. Which view opens
49
- never decides anything: what holds the decision stays `reads`.
50
+ `[view/unknownView]` refuses a view the form does not have, `[view/unknownForm]` a
51
+ form node that does not exist, `[view/unknownSlot]` a document slot no node
52
+ declares (a slot is the node's `artifacts[].key`, not the node id). Which view
53
+ opens never decides anything: what holds the decision stays `reads`. A bundle
54
+ still carrying `formView: { form, key }` is moved by `offer upgrade`.
50
55
 
51
56
  ## Then
52
57
  `offer plan`, `offer apply --publish`. An application stays on the form revision it