2. Create Information
Information is the smallest building block in Atfinity. The probably simplest example of an information is the 'First Name'. In our scenario, we will need to be able to collect the first name, last name and the date of birth from every new client as well as the account type of the opened account.
The next steps will guide through the creation of the first piece of information, the first name. That gives us the general knowledge of information creation. The creation of the other pieces of information will follow a similar procedure with minor differences, which will be pointed out at the end.
We would like to create the information 'First Name'. It is important to understand that information always needs to be connected to an ontology. In our scenario, only the person who opens an account has a first name, the contract does not. So we link the information to the corresponding ontology (in our case a 'Person').
Similar to when we created ontologies and roles we need to give our information a key and a name. We write 'first_name' for the key and 'First Name' for the information name.
The information type defines what form the information has. An information could, for example, be a number or a date. The information 'First Name' is of type 'Text (Single Line). This means that we will be able to type the first name of the client into a text field.
Categories help to group information that's usually asked together. It makes sense that an information like a first name goes into a 'Personal Details' category, together with the last name and the date of birth. The information 'Account Type' however, should belong to the category 'Account Details'.
Now that we have created the information 'First Name' we are able to create the other pieces of information we require (account type, last name and date of birth):
- When creating the information for the last name, be sure to give it another information key ('last_name') and information name ('Last Name').
- For the date of birth information, information type should be 'Date'. That way Atfinity knows that this information is a date and can tread it as such.
- When it comes to creating the information for the account type, keep in mind that this information concerns the contract. We therefore need to select 'Contract' as an outcome ontology. The information type of this information is 'List (Single Answer). That means that we will be able to select a value from a dropdown list of possible value when filling out the information. Therefore we also need to define the possible values in the dropdown list. For now we need only one value, so we can write
individual: Individual Account. The left side of the colon acts as a reference which we can use within Atfinity to refer to this value. The right side of the colon is the translated value of that reference which will be visible in the dropdown list. For more information, see List (Single Answer).
If you feel like it, try to create some additional information as an exercise. Here are some suggestions for information you could create: country of birth, contract number, phone number, email address, gender. For each information, think about the ontology it belongs to and what type it should have.
At this point we have created all the information we need for our process. In the next article we will see how we can Create and Configure a Document.