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

Setting timestamp property to current time in a workflow causes an issue with CK (M-Files 22.9)

Last updated on 22 December 2022

Admin
Vault Application Framework (VAF)

Overview

The 22.9 version of M-Files brings a feature where workflow state actions can set a timestamp property to the time when the state transition occurred.

Using this feature causes an issue with Compliance Kit with an error similar to the one below.

This error is from trying to validate the configuration, but you can get a similar error when installing, uninstalling or upgrading CK, and when it starts up when the vault goes online. The bottom lines in the error stack are indicative (marked in bold).

Loading validation results from server failed.

NOTE: This can affect other vault applications, not just Compliance Kit.

Error: The tag is invalid.

 at MFilesErrorHelper.GetAsyncRejectionError (file:///C:/Program%20Files/M-Files/22.9.11816.9/Bin/ext/Configurator/lib/mfiles/MFilesErrorHelper.js:24:17)

 at Anonymous function (file:///C:/Program%20Files/M-Files/22.9.11816.9/Bin/ext/Configurator/lib/mfiles/helpers/VaultExtensionMethodCaller.js:88:21)

AsyncCaller.cpp, 365, The tag is invalid. (0x800706C5)

CoVaultExtensionMethodOperations.cpp, 142, The tag is invalid. (0x800706C5)

LatestRPC.generated.cpp, 47097, The tag is invalid. (0x800706C5)

RPCVaultExtensionMethods.cpp, 417, The tag is invalid. (0x800706C5)

RPCVaultExtensionMethods.cpp, 117, The tag is invalid. (0x800706C5)

MCallInLoop.h, 712, The tag is invalid. (0x800706C5)

RPCVaultExtensionMethods.cpp, 601, The tag is invalid. (0x800706C5)

VaultDBSessionEvents.cpp, 952, The tag is invalid. (0x800706C5)

VaultScriptSessionTemplates.cpp, 396, The tag is invalid. (0x800706C5)

VaultScriptSessionTemplates.cpp, 523, The tag is invalid. (0x800706C5)

CoActiveScriptSite.cpp, 895, The tag is invalid. (0x800706C5)

CoActiveScriptSite.cpp, 737, The tag is invalid. (0x800706C5)

VaultExtensionMethod::MFiles.ComplianceKit.MFEventHandlerVaultExtensionMethod, 22, The tag is invalid. (0x800706C5)

CoDynamicCLRObjectWrapper.cpp, 552, The tag is invalid. (0x800706C5)

CoDynamicCLRObjectWrapper.cpp, 322, The tag is invalid. (0x800706C5)

ManagedError.cpp, 150, The tag is invalid. (0x800706C5)

VaultApplicationBase.cs, 266 (IL:45), The tag is invalid. (0x800706C5)

VaultApplicationBase.cs, 861 (IL:181), The tag is invalid. (0x800706C5)

MethodInfo.cs, 378 (IL:141), The tag is invalid. (0x800706C5)

QMSCore.cs, 1657 (IL:93), The tag is invalid. (0x800706C5)

QMSCore.cs, 2830 (IL:62), The tag is invalid. (0x800706C5)

VaultApplicationBase.cs, 3177 (IL:22), The tag is invalid. (0x800706C5)

MetadataStructureCache.cs, 67 (IL:63), The tag is invalid. (0x800706C5)

MetadataStructureCache.cs, 314 (IL:960), The tag is invalid. (0x800706C5)

M-Files Compliance Kit 21.12.1057.10: [MFilesAPI.WorkflowsAdmin GetWorkflowsAdmin()], IL:-1, The tag is invalid. (0x800706C5)

CoVaultWorkflowOperations.cpp, 640, The tag is invalid. (0x800706C5)

ServerVaultWorkflowOperationsHelper.cpp, 302, The tag is invalid. (0x800706C5)

(M-Files 22.9.11816.9 2022-10-10T08:37:55.516Z)

Solution

This issue is fixed in the November 2022 release (22.11) version of M-Files with ID 165055.

Workaround

Do NOT use the workflow state action where you set the current time to a property.

image.png

Still need help?