Compare TimeStamp Not Working

Hi,

I am working on a workflow to compare the identity history date (AccessItemRemoved ) event date to send out an email. The Timestamp compare is not working as expected and it’seems to be a bug. Anyone come across such issue?

Thanks,
Karthi

You may need to apply a transform to your set variable call to ensure that the 2 dates are in the same format.

Hi Mark,

I don’t think the issue is with dates. In the define variable section I using “now” keyword to get the date, so both the dates are in the same format. I suspect the compare is not working as expected.

Regards,
Karthi

Are you able to share the input and response json for the compare step? Am wondering if the something is being funny there. Seeing the input and output will be really helpful in figuring out what is going on here.

Hi Mark,

I have attached input, output and the workflow json as well for reference.

Thanks
Workflow-output.json (404.7 KB)
SLAPRemovalWorkflow20240924 (1).json (3.7 KB)
Workflow-Input.json (1.1 KB)

After looking this over have you tried to set the condition to On or Before? Based on what I am seeing in the out put your current logic would never evaluate as true because the record coming in would not have a future date.

Hi Mark,

Thanks for that, I was using On or After initially for many test cases, none of them were worked. So, thought of using On or Before for one round of testing :slight_smile:

Thanks,
Karthi