@smartkomm/plexus-cli 0.1.121 → 0.1.122
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
|
-
|
|
1
|
+
abda584f86d6e57da0bd747f218da589d6e4cad4542c537727d58f2a7941afca
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -204,6 +204,7 @@ whole is the operator's (ask them; do not try).
|
|
|
204
204
|
| [offer/author-smartform.md](references/offer/author-smartform.md) | Mandant | Build a SmartForm from scratch with the CLI and publish it. |
|
|
205
205
|
| [offer/bind-node-input.md](references/offer/bind-node-input.md) | Mandant | Bind a node's input slot to an address, a literal or the default. |
|
|
206
206
|
| [offer/completeness-check.md](references/offer/completeness-check.md) | Mandant | Wait for outstanding documents, with a deadline and a guest role. |
|
|
207
|
+
| [offer/waitlist-promote-team.md](references/offer/waitlist-promote-team.md) | Mandant + Plattform | Let a team promote applications from a waiting list, beside the responsible person (node set --assign-team). |
|
|
207
208
|
| [offer/countersign-node.md](references/offer/countersign-node.md) | Mandant + Plattform | Add the school's countersignature of the contract (needs a sealed contract resolver). |
|
|
208
209
|
| [offer/create-pedagogy-unit.md](references/offer/create-pedagogy-unit.md) | Mandant | Make a unit something families can apply to. |
|
|
209
210
|
| [offer/declare-node-reads.md](references/offer/declare-node-reads.md) | Mandant + Plattform | Declare which form fields a document node reads and locks. |
|
|
@@ -2096,7 +2096,7 @@ Insert a workflow node + sync progress layout/wiring; validate before write
|
|
|
2096
2096
|
| `--flag-key <value>` | setFlag only: external-flag key to flip on the --target instance |
|
|
2097
2097
|
| `--flag-value <value>` | setFlag only: value to set — true\|false (default true) |
|
|
2098
2098
|
| `--target <value>` | setFlag only (required): the form instance the flag is raised on — '$node.<formNode>.admission' |
|
|
2099
|
-
| `--assign-team <value>` | countersign (required): permission-group key whose members countersign (assign.countersign) · engagePush (required): the team of a stopped transfer (assign.engagePush) |
|
|
2099
|
+
| `--assign-team <value>` | waitlist: permission-group key whose members may promote beside the responsible person (actionTeams.promote) · countersign (required): permission-group key whose members countersign (assign.countersign) · engagePush (required): the team of a stopped transfer (assign.engagePush) |
|
|
2100
2100
|
| `--engage-target <value>` | engagePush only (required): sandbox \| production |
|
|
2101
2101
|
| `--when-nothing-owed <value>` | review only: park (default — someone looks at it) \| advance (pass through when no field is owed) |
|
|
2102
2102
|
| `--engage-contract-fields <value>` | engagePush only: off (default) \| on — the contract fields F01–F25, meaning not confirmed by the school yet |
|
|
@@ -2270,6 +2270,7 @@ Edit a workflow node (label/assign-decision/form/target/contract/payment/routing
|
|
|
2270
2270
|
| `--label <value>` | New node label (German). A node with a real English label needs --label-en too |
|
|
2271
2271
|
| `--label-en <value>` | New node label (English); alone it re-translates the current German |
|
|
2272
2272
|
| `--assign-decision <value>` | decision only: replace the decision-row group key (this is the whole wiring) |
|
|
2273
|
+
| `--assign-team <value>` | waitlist only: permission-group key whose members may promote beside the responsible person (actionTeams.promote); "" removes it |
|
|
2273
2274
|
| `--comment-required <value>` | decision only: replace comment-required outcome ids — <id>[,<id>] |
|
|
2274
2275
|
| `--requires-one-of <value>` | decision only: the decision waits until ONE of these optional actions (keys on this node) is completed — <key>[,<key>]; "" drops the rule |
|
|
2275
2276
|
| `--task <value>` | any: replace composed tasks — task: key:task:title:group[:dueInDays] · approval: key:approval:title:group[:revisionGroup] |
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Let a team promote from the waiting list
|
|
2
|
+
|
|
3
|
+
**When to use:** colleagues stand in for one another and each should press „Nachrücken" on an application on the waiting list, without first making themselves responsible for it. Without a team, only the application's responsible person may press it.
|
|
4
|
+
|
|
5
|
+
The button and the server follow one rule: **the responsible person OR a member of the team the waitlist node names.** The team gets no task and no queue entry: a waiting application stays out of everyone's inbox. It also gets no assignment slot and no chat channel from this entry.
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
- A bundle on disk (`offer export`; a live tenant's only into a private scratch dir — [Edit a live tenant's offer](./edit-live-tenant-offer.md)). Authoring is offline.
|
|
9
|
+
- The team's permission-group key, e.g. `bewerbungsteam`. It must be a staff group of the school, and its members need to be able to read applications, or they never reach the button.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
```bash
|
|
13
|
+
# 1. Find the waitlist node(s). A process may have several; each names its own team.
|
|
14
|
+
plexus-cli offer workflow node list --dir <dir>
|
|
15
|
+
|
|
16
|
+
# 2. Name the team on the node (stored as `actionTeams.promote`).
|
|
17
|
+
plexus-cli offer workflow node set --dir <dir> --node warteliste --assign-team bewerbungsteam
|
|
18
|
+
|
|
19
|
+
# 3. Validate, plan, publish.
|
|
20
|
+
plexus-cli offer validate --dir <dir>
|
|
21
|
+
plexus-cli --env staging --tenant <t> offer plan --dir <dir>
|
|
22
|
+
plexus-cli --env staging --tenant <t> offer apply --publish --dir <dir>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
A new waitlist node takes the same flag: `node add --type waitlist --waitlist-order manual --assign-team bewerbungsteam …`.
|
|
26
|
+
|
|
27
|
+
To remove the team again: `plexus-cli offer workflow node set --dir <dir> --node warteliste --assign-team ""`.
|
|
28
|
+
|
|
29
|
+
## Verify
|
|
30
|
+
Sign in as a team member who is not responsible for a waiting application and open it: „Nachrücken" is enabled, and its caption names the team and the responsible person. A colleague outside the team sees the same button disabled.
|
|
31
|
+
|
|
32
|
+
## Idempotency / gotchas
|
|
33
|
+
- Publishing reaches applications on the **new version**. An application already waiting stays pinned to its version until it is moved to the new one.
|
|
34
|
+
- A team the school does not have is refused at publish (`[inputs/unknownResource]`), not by `offer validate` offline. So is an empty entry (`[inputs/emptyReference]`, offline too).
|
|
35
|
+
- Only `promote` on a waitlist node takes a team (`[capability/unknownActionTeam]`).
|
|
36
|
+
- Promoting into a full cohort still needs the explicit overbooking confirmation, whoever presses.
|
|
37
|
+
- Closing a round and „next in the queue" are cohort acts on the selection permission; this team does not change them.
|
|
38
|
+
|
|
39
|
+
## Related
|
|
40
|
+
- [Add a workflow node](./add-workflow-node.md)
|
|
41
|
+
- [Edit a live tenant's offer](./edit-live-tenant-offer.md)
|