Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
I have added "XOR" Gate to my PM and in that i have added a condition like "if( totime(local(now(), "IST")) = cons!IT_TIME_CONSTANTS_FOR_VERSE, true(), false())
Where The constant holds time of 12:30 PM,but even though that expression is true the Pm is returning false because of which XOR is failing.Can anyone suggest what's wrong hereThanks in advance,SSP
Discussion posts and replies are publicly visible
It is because it is also considering seconds I guess. You might have to cast it in just the Hr and Min using text() function and then compare it.
Like this
text(totime(local(now(), "IST")),"hh:mm") = text(totime("12:58 PM"),"hh:mm")
Hi Harshit,But the values and type is same in the PV's ,then how come comparison is failing?
I have added a screenshot. In that, if you look at the output, you'll realize how these values are converted to integer values for comparision.