cancel
Showing results for 
Search instead for 
Did you mean: 

Date condtion for +7 days

Sonia
Deputy Chef I
Deputy Chef I

I'm compiling a condition whereby the Date Created will have to be over 7 days old. Running into issues with the condition itself. Can someone have a look, please? I bet it's eay and I am just overthinking:

 

con.png

tried this as well:

con2.png

 

2 REPLIES 2

francbaviello
Deputy Chef III
Deputy Chef III

Hi @Sonia , Date created value's is a the time the user was created.

The first condition (< 7.days.ago) is formally correct, but probably the field Date created is not a DateTime.

So, you can set 'Date created' with the function .to_time to convert data to an ISO time stamp.

Example: you can create a Variables with "type": "boolean" and set the formulas with this value: Date Created.to_time < 7.days.ago
After you can check the Variables boolean with true or false condition.

shivakumara
Executive Chef III
Executive Chef III

Hi @Sonia ,
If possible, can you send us what is the response when log " Date Created" field from Zendesk
But here I am adding my view on this, here I am adding screenshot
Assuming Zendesk date created is of type format: "2014-08-06T11:02:09Z"
Zendesk.pngzendesk_1.png