Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Wrong Data Type Attempting to Create New Employee (HRVaultApp)

Last updated on 27 December 2023 · 1 min read

Admin
Vault Application Framework (VAF)

Overview

Some users may encounter an error when configuring the M-Files HR vault template, "Wrong data type for property definition "[property]". The details will show script execution failing when adding a new Employee to the vault.

Solution

In this case, the object pdOwnerEmployee defaulted to an ID of 1019 which was hard-coded into the configuration.  Changing the configuration to the correct ID (1020 in this case) will resolve the issue. 

image.png

Still need help?

On this page