Converting string into date and applying transformation failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2019 05:54 AM
I am passing a timestamp as a variable through pipeline parameter as ‘p_querystring_modifieddateafter’.
while applying logic as below in mapper and in REST GET snap parameters, I am getting the failure :
Logic in Mapper :
_p_querystring_modifieddateafter.minusDays(1).toLocaleDateString()+“T00:00:00.000”
tried with below logic also, still failing,
LocalDateTime.parse(_p_querystring_modifieddateafter).minusDays(1).toLocaleDateString()+“T00:00:00.000”
let me know if i am making any mistake…
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2019 08:56 AM
The quotes you have copied and pasted into the mapper are invalid quote characters.
Please delete the quotes and retype them in the mapper and the expression will work as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2019 10:36 AM
Got the issue…
it was “ causing the issue, where it should be "
thanks for your great help and follow up @cjhoward18 .
