---
title: DAF demo processes guide
slug: hyper-portal/daf-demo-processes-guide
docTags: 
createdAt: 2023-01-24T13:23:57.000Z
---

### Start test&#x20;

To start testing the workflow you need to start the 'Contract ending' [process](https://daf-demo.hyperportal.org/featured-processes/XnFUCLmgfCgyzIttHmhLn/browse?columns=title|createdAt|processLink|processStatus|processStatusUpdatedAt|processDeadline\&page=1\&sortBy=createdAt--DESC).

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/vaKBRmFXO1GGf5wAW0yM8_image.png)

This process should get all contracts that end within 90 days

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/-sayguMrpIMpLq6qwI2n0_image.png)

But at the moment it pulls the contract where the contact person is Hyper Coaches

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/0s3R2Fa_lnzGCQtBuvbJH_image.png)

Currently, this process takes two contracts. Then it starts the **End of lease** process for the first one and the **Guaranteed Buy-Back&#x20;**&#x70;rocess for the second contract.

# End of lease process

This process is started by the Contract ending process.

In the first manual task, you should enter all the necessary details

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/81jJejxfXedBZXRaJFcgD_image.png)

Most of the fields will be automatically filled in by the Contract ending process.&#x20;

AOM Owner - here you should select your account. The account that is selected here will receive all test emails.&#x20;

Contract options - all options except the 'No letter required' will push the process flow forward,

'No letter required'  - if this option is selected the process will be completed after the task is marked as done.

Reminder duration (days) - this is an optional field, here you decide when the customer receives a reminder letter if the form is not filled in. For now, the default delay is 5 minutes, so if the form is not submitted after 5 minutes, you will receive a reminder with the same link.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/g911wMSnCZI_9NW269356_image.png)

After the task is submitted, you will receive an email with the form where you can choose a contact decision

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/b0yEYo3S13MlKpMdCOVKr_image.png)

The customer\`s answer in the form will decide the flow of the form.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/DC0Ra5037zozddbf1-KCg_image.png)

## Form answers&#x20;

### No answer -&#x20;

If the customer ignores the form, then the reminder is sent with the same form link.&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/ZZiOE8vZTRHbkjNWJTkop_image.png)

If that email is also ignored (for now the delay is 15 minutes), the task to call the customer will appear.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/b7-lDVeblY749C2ItPf9w_image.png)

The task will appear until the customer chooses the contract option.



### Return vehicle -&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/uEweS10uIDH1Bj4lKtxrz_image.png)

for this option, you have to choose a return location and return date

&#x20;After the form is submitted the status of the contract becomes 'vehicle return'&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/jNaST64di3oJqtDvY816M_image.png)

You will also receive information about the return location to the test email address (AOM owner)

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/08rpQ8dZmY3wdqxdq20il_image.png)

After this email, there should be a 3-day delay (now it\`s 1 minute for testing purposes)

After three days the customer receives a reminder letter -&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/pX_r53t88-oMooBmz-Mve_image.png)

After this email, there will be a set period of time (now it\`s 5 minutes) for the customer to return the vehicle.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/XpyuIbdUyptLImIBYJnMt_image.png)

If during this period the 'Returned?' property is set to 'Yes' - the process will be finished&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/H4pZpeKKNQzCvi8dgUDdV_image.png)

If the customer didn\`t return the vehicle in this time period and the delivery location and business partner are the same then the dealer notification will be sent (template not ready)

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/nT9GbRZ_BOhiXkt7BBt0w_image.png)

Then the customer will receive a 'reschedule' email (template missing) and the previous location and date or return will be deleted from the process.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/lvPuuqcDFDTLdMuULbu6N_image.png)

If the customer doesn\`t reschedule via email, a manual task will pop up that will ask someone to contact the customer to reschedule.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/Ud8O8BEIufEHUp6RHix90_image.png)

The 'reschedule' reminder emails and tasks to call the customer will be executed until the vehicle is returned (the 'Returned?' property should be yes for the process to finish).

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/Wd9RHPJs5_JMqO4enhbaT_image.png)

### Extend lease&#x20;

For this option the customer has to choose an extension period and enter the mileage.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/eUke9O9jqhr6bZGbQq5Qz_image.png)

After the form is submitted the customer receives a confirmation email&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/ZpxhYN-OaoLiVO8yoLnIi_image.png)

The Alfa notification is also sent&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/d4ow1lkLxn8l24eYPOy3w_image.png)

After that, the process finishes.

### Purchase

If the customer chooses the 'purchase' option the two emails are sent

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/FwpDvbJAEL4xz3rLP4CKl_image.png)

The confirmation email&#x20;

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/XdutnmF1hVKTg5bU640lU_image.png)

And the Alfa notification

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/inShhEb-5Pejuk1UsK6Wl_image.png)

