Veröffentlicht Fri, 21 Feb 2025 14:59:22 GMT von Jon Sproule OE Canada Inc. Content Management Consultant
Hi All,

I'm looking to auto assign a week value based on a user provided date. We're trying to assign a value between 1 and 52 based on a predetermined date range. For example, January 1 - 7 is week 1 and so on. Has anyone successfully implemented something like this before? I'm looking at a workflow with an arithmetic expression, but am not making any headway. Any feedback or advice would be greatly appreciated.
Veröffentlicht Fri, 21 Feb 2025 15:57:56 GMT von Gilles Sauvagnat Altexence
Hi,
Looks like you should you use datetime VB functions in a WF
https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualbasic?view=netcore-3.1
Best regards
Veröffentlicht Fri, 21 Feb 2025 19:48:09 GMT von Jon Sproule OE Canada Inc. Content Management Consultant
Thank you, Gilles. I'm working on something in the arithmetic expressions of an assign data workflow, but the commands are somewhat limited. I have viable visual basic code, but can't simplify it to the point that DocuWare can read it. Is there any other way to add the code?

Sie müssen angemeldet sein um Beiträge in den Foren zu erstellen.