工作流中的日期比较结果为False,当它实际为True时 [英] Date compare in workflow results in False, when it is actually True

查看:89
本文介绍了工作流中的日期比较结果为False,当它实际为True时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计们,


我们的工作流程似乎停止了工作! 


它正在比较2个日期和过去常常工作。 它将项目创建日期和今天放入局部变量,然后进行测试:




日志写道: 


Something不在这里!  CreatedDate = 16/04/2019 11:59:16今天= 16/04/2019 00:00:00


所以日期是一样的,但是想想他们吃的不一样!就像我说的,这曾经工作并且已经停止工作。


任何想法?


谢谢


A。


解决方案

由于时间原因,它不匹配两个日期。


您可以创建两个变量来存储日期。在操作下,选择"为日期/时间字段设置时间部分"动作并使用当前字段值设置两个变量< g class =" gr_ gr_444 gr-alert gr_spell gr_inline_cards gr_run_anim
ContextualSpelling ins-del multiReplace"数据-GR-ID =" 444" ID = QUOT; 444">日期时间< / g取代;现在。


它会起作用。



Hi folks,

We have a workflow that seems to have stopped working! 

It is comparing 2 dates and it used to work.  It puts the item Created Date and Today and puts them into local variables and then does the test:

The log writes this: 

Something is not right here!  CreatedDate = 16/04/2019 11:59:16 and Today = 16/04/2019 00:00:00

So the dates are the same, but is think they ate different! Like I say, this used to work and has stopped working.

Any ideas?

Thanks

A.

解决方案

Because of the time, it is not matching both dates.

You can create two variables to store the date. Under action choose "Set time portion for date/time field" action and set both variables with your current field value and <g class="gr_ gr_444 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="444" id="444">datetime</g> now.

It will work.


这篇关于工作流中的日期比较结果为False,当它实际为True时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆