Osy#betaRun it on Osyrin: osyrin.com

Reference / Agent

Osysharp.HumanRequests.Processes — what a business process asks of people, told on the process's own run

`Osysharp.HumanRequests.Processes` is the bridge between requests and processes: each request a workflow's run puts to a person — a question, an approval, a form, a link sent to somebody outside — is a line of that run, in the state that put it.

previewagentsguidekit

Source on GitHub: Osysharp.HumanRequests.Processes — github.com/osysharp/humanrequests/processes ↗

You are here: Building with agents › The kits › HumanRequests.Processes

Summary#

Osysharp.HumanRequests.Processes is the bridge between requests and processes: each request a workflow's run puts to a person — a question, an approval, a form, a link sent to somebody outside — is a line of that run, in the state that put it.

Nothing is written at the call: a request records the run it was put in by itself. What became of it is told too — who answered and after how long, that its date passed and whom it went on to, that nobody did — and each line opens the request, as whoever is looking may read it.

PackageOsysharp.HumanRequests.Processes, version 1.1.0
You add it withNothing. It arrives by itself in an app that uses [[agent-kit-human-requests|HumanRequests]] and [[agent-kit-processes|Processes]]; osy lock says so. without Osysharp.HumanRequests.Processes; in the manifest keeps it out.
It sits on[[agent-kit-human-requests|HumanRequests]], [[agent-kit-processes|Processes]], [[agent-kit-work-queues|WorkQueues]]
It also usesIdentity, Ui — parts of the platform's own library
Its own test appAn engineering consultancy hiring a senior implementation consultant — kits/human-requests-processes/tests

Description#

What do you get without writing anything?#

  • A line on the run for each request: who was asked, by an account, a link or a queue.
  • A line for what became of it: answered, passed on, run out, called off.
  • The request opened in place on the run's page.
  • A state that waits for a person no longer reads "Nothing was recorded here."

When do you need it?#

Processes and HumanRequests together. It arrives by itself; you write nothing.

What does it expose?#

The tables below are generated from the kit itself, not written by hand: osy kits Osysharp.HumanRequests.Processes --surface lists each of them with the code of the kit's own test app that uses it, and the tests that show it working.

Functions you call, those its own tests show most first.

FunctionWhat it doesTests that show it
RequestSubject()What a line of a run that is about a request says its subject is — ProcessMoment.SubjectKind.7

Screens and components you mount — each is one line in a page of yours.

ComponentWhat it draws
RequestOpened(kind, subject)A line of a run that is about a request opens the request in place — the question, what is known, and what came back — as whoever is looking may read it.

Go deeper#

Related

The map of the kits — which sits on which, and what each one is for

The agents family is 29 kits. Two are under everything: `Osysharp.Llm` for every model call and `Osysharp.Agents` for…

People in business processes — what a run asks of people, told on the run (HumanRequests.Processes kit)

A process asks a person by putting a request from its workflow and awaiting the answer. With Osysharp.HumanRequests and…

Requests to people — a question, an approval, a form, and the answer coming back (HumanRequests kit)

The `Osysharp.HumanRequests` kit puts something to a person — a question with the options it may be answered with, an…

Processes — every run of a business process, listed and read from start to now (Processes kit)

Osysharp.Processes makes the runs of an app's workflows followable by the people who answer for them. The app names…