Add is_valid property to assignments?
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Beginne mit Issue #35 und dem im Thread beschriebenen /cases/awaiting/-Endpunkt und verfolge dann, wie sich der Assignment-Status ändert, wenn ein Fall seinen zugewiesenen Status verlässt. Kläre, ob unvollständige Assignments eine is_valid-Eigenschaft benötigen, und dokumentiere das gewählte Verhalten; abgeschlossen bedeutet, dass das Szenario mit zwei Assignees ein vereinbartes, beobachtbares Ergebnis hat.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Pulled out of #35
Use case:
Cathy and Anna are both Deputy Finance Directors. Contracts can be approved by either of them during the "Awaiting Finance Approval" state.
@mjumbewu said:
I'm considering adding an is_valid field to Assignment instances. So, in the case where Cathy and Anna are both Deputy Finance Directors, when one acts on their assignment, the other's assignment would get is_valid set to False -- perhaps explicitly in the handler, perhaps automatically as a consequence of the case transitioning out of the assigned state with no action taken on the assignment. Probably the latter.
Does that seem reasonable? If the case transitions to another state, then all incomplete assignments are simply marked as invalid?
@timwis replied:
maybe I'm misunderstanding, but I'm not sure that's necessary. If the /cases/awaiting/ endpoint queries cases that (a) are assigned to you, (b) you haven't acted on yet, and (c) the case is currently in the state you're assigned to -- it should handle both scenarios described above, no?
- Vorherrschende Sprache
- Python
- Sterne
- 22
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CodeForPhilly/stately
-
Related app: Docassemble Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
CodeForPhilly/stately#60 ·
-
Investigate using BPML Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
CodeForPhilly/stately#59 · 1 Kommentar ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 28/100
CodeForPhilly/stately#58 · 1 Kommentar ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
CodeForPhilly/stately#57 ·
-
Search case list Offenapi ui
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
CodeForPhilly/stately#55 ·
Alle Issues in CodeForPhilly/stately
Ähnliche Issues
-
agent-ready documentation needs-triage
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
instance instance add
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
searxng/searx-instances#939 · 1 Kommentar ·
-
area-deployment area-integrations triage:bot-seen
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 86/100