Skip to main content
phani_kumar
Gainsight Employee ⭐️⭐️
Nov 25, 2019 11:31 AM UTC
Solved

Add/Subtract Date” Function in rule returns date value.

Hi Team.

Working with one of the customer and found an issue with “Date Formula” field in Rules. Especially with the “Add/Subtract Date” Function.

 

Issue was, once we add or subtract any days to the “DateTime” data type field using  the “Add/Subtract Date Function”, we are getting an Output as “Date” format, instead datatime. 

It was causing an issue when we try to use that Formula field in the Action Criteria Part.

 

But when we are the Execution History tab showing “No details to display”.

Screenshot:

 

 

suryanarayana
Helper ⭐️
Nov 25, 2019 11:40 AM UTC

Hey Phani,

I have faced similar issue and my turn around was:

Use Date function in Task1 and convert it into Date field.

In Task 2 use this Date Field and do your transformation.

Thank You
 

Inguva Suryanarayana

3 replies

suryanarayana
Helper ⭐️
Nov 25, 2019 11:40 AM UTC

Hey Phani,

I have faced similar issue and my turn around was:

Use Date function in Task1 and convert it into Date field.

In Task 2 use this Date Field and do your transformation.

Thank You
 

Translate
Inguva Suryanarayana
Helper ⭐️
Mar 24, 2020 6:46 AM UTC

@phani_kumar @suryanarayana  This issue is fixed now. 

On adding or subtracting any days to the “DateTime” data type field using the “Add/Subtract Date Function”,  the output field also will be “DateTime” now. 

Translate
phani_kumar
Gainsight Employee ⭐️⭐️
Oct 5, 2020 8:37 AM UTC

Thanks @tulasi_andukuri 

Translate