投稿済み Thu, 16 Dec 2021 17:06:20 GMT 、投稿者 Jalila Manal
Hello,

How do I extract the year from the document date?

I've tried to put the following arithmetic expression on the workflow : Year(WD_Document date), but this does not work (I can not even click on OK).
Thanks in advance.

Regards,
 
投稿済み Thu, 16 Dec 2021 22:46:30 GMT 、投稿者 Jacob Eaton Software Integration Specialist
You may have the right expression. The function Year(DateTime) returns an Integer. Make sure your variable or index is compatible with that data type or convert it to a string, with CStr(Year(DateTime)).

Thanks,
Jacob Eaton
投稿済み Fri, 17 Dec 2021 08:44:53 GMT 、投稿者 Jalila Manal

Hi Jacobs,

That was the issue indeed. It worked now, thank you very much.

Best Regards,

フォーラムに投稿するためにはログインが必要です。