RESEARCH_IN_MOT_1
14 years agoNew Contributor
Scipt in MockService
All
I am having trouble generating a script for a mockservice. I just want to return a value of the current date to the calling service but everything I have tried hasn't worked.
def today = new Date()
or
context today = new Date()
I looked at the documentation and it doesn't really explain it that well.
I am having trouble generating a script for a mockservice. I just want to return a value of the current date to the calling service but everything I have tried hasn't worked.
def today = new Date()
or
context today = new Date()
I looked at the documentation and it doesn't really explain it that well.