Hi guys
I got a problem with the following script after copying a vault (full backup) to another server.
Dim EndeGJ_ID: EndeGJ_ID = Vault.PropertyDefOperations.GetPropertyDefIDByAlias("PD.EndeGJ") Dim EndeGJ: EndeGJ = PropertyValues.SearchForProperty(EndeGJ_ID).TypedValue.DisplayValue Dim neuesJahr: neuesJahr = YEAR(DateAdd("yyyy", 1, EndeGJ)) 'Das Jahr von (EndeGJ + 1 Jahr)
In my environment it works, but not in the new one. It always says when triggering the workflow state with the script: type mismatch.
There is a property "Ende GJ" (date) where it should be added 1 year when running the script.
Someone knows why the exact same script doesn't work in the new vault?
Kind regards,
Dario