---
title: Use Cases
description: "### Create Agreements (NDA), Statements, when person is hired Customer is large IT company and they are using M-Files HR solution. When their candidate is hired, entered the Active state Picture 1, M-Files automatically creates NDA and Statement. ![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-58.png) *Picture…"
url: "https://extensionkit.unitfly.com/documentation/object-operations-use-cases/"
updated: "2025-05-01"
category: Configurations / Object Operations
---

# Use Cases

### Create Agreements (NDA), Statements, when person is hired

Customer is large IT company and they are using M-Files HR solution. When their candidate is hired, entered the Active state Picture 1, M-Files automatically creates NDA and Statement.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-58.png)
*Picture 1. Employee Workflow*

For each document they have defined templates in M-Files, Picture 2.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-59.png)
*Picture 2. Templates in M-Files*

Employee object is created (Picture 3) and when it goes through workflow. When its entered Active state, two new documents will be created.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-60.png)
*Picture 3. Employee object in M-Files*

#### Configuration of Object creation

Source object that trigger creation of NDA and Statement is Employee. Both objects will be created from templates and required properties is Employee, Picture 4.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-61.png)
*Picture 4. Structure of NDA and Statement*

Documents Names are automatically calculated of Class and Employee, so we will need to add set Employee property.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-62.png)
*Picture 5. Configuration – Source object*

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-63.png)
*Picture 6. Configuration – New Object*

On a statement, we would like to add Current position, so configuration is like on Picture 7.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-64.png)
*Picture 7. Configuration – Statement*

Now when Employee is in active state, two documents are created, Picture 8.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-65.png)
*Picture 8. Employee with two new documents*

### Create Tasks when a project is created

Customer is using M-Files for Project Management. When Project is created, few specific tasks are created to project manager.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-66.png)
*Picture 9. Configuration – Project and Tasks*

### Creating copy of object and properties in new class and making copies of attachments and editing references on both ends.

*Source object* that triggers the creation of Financial report is Incoming mail, which* Text property *has value “Financial report”. New object will be created from template (source object), Picture 10.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-67.png)
*Picture 10. Configuration – Create Financial report from Incoming mail.*

After the new Financial report is created, copies of attachments are created and references are edited on Financial report and on attachments, as seen in the Picture 11.

![](https://extensionkit.unitfly.com/wp-content/uploads/2025/05/image-68.png)
*Picture 11. Creating copies of Attachments and editing references.*
