Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Service Virtualization
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
{{=doDateDeltaFromRequest()}}- Problem in response-defaults to currentdate
1.
{{=doDateDeltaFromRequest()}}- Problem in response-defaults to currentdate
0
Recommend
Senthil Manohar
Posted Dec 04, 2020 06:38 AM
|
view attached
Reply
Reply Privately
Options Dropdown
Dears,
I have already opened the below thread, but I am unable to post further queries there. So i had to open a new one.. my apologies
In my DevTest 10.6,
doDateDeltaFromRequest()
doesn't seem to be picking up date from the request argument. It was working fine until 10.5 and I recently upgraded to 10.6. Not sure if I have to enable some flag?
Below is the scenario I am trying using
doDateDeltaFromRequest()
Two date arguments
createdDate, deliveredDate
are part of incoming request with date time stamp and we need to offset
executableDate, auditExipiryDate, transactionExpiryDate
which are part of response. Desired output is,
executableDate --> doDateDeltafromRequest based on 'createdDate', 21D
auditExipiryDate --> doDateDeltafromRequest based on 'createdDate', 45D
transactionExpiryDate --> doDateDeltafromRequest based on 'createdDate', 30D
createdDate
is the first argument with Date timestamp in my request, so the
doDateDeltaFromRequest()
is expected to work on this argument.
Any help is appreciated
I have attached a Sample Mar file & the datetime format in my _local.properties. Please take a look
@Vaibhav Jain
- Thanks for your response to my original thread. I applied your suggestions, but it's not working. I have attached my mar files.
@Gene Howard
@Danny Saro
@Sankar Natarajan
@rick.brown
Thanks
Sethil Manohar
Attachment(s)
UserRegistration.zip
108 KB
1 version
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic