In Logiak, a Process is (usually) an interactive dialogue with the user, but typically a Process also contains database updates.
If you are someone used to form-based systems, Processes resemble forms, but it is possible to do a lot more with Processes than is usually the case with forms:
- Processes can have input parameters, and can call sub-Processes, passing values and receiving return values.
- They can have variables who variables can be updated.
- Conditions can in turn be used as Preconditions to affect how the dialogue proceeds.
- Also, Conditions can be defined not only in terms of values but also in terms of other Condition
So Processes can be simple data collection tools, but they can also be very complex implementation of complex logic, such as diagnostic logic in healthcare applications or the logic of a field of law when one is doing legal engineering.
Very Simple Example: Two Questions
Let us start by implementing a very simple Process. Imagine, we want to ask the user for just two things: a name and a date of birth.
This is how we could create such a Process.
Create a Process, then under the Nodes tab, click +Add button and select to add a Text Input question (this will be to ask the user for a name)