Way to increment values in Web Services method in TDAdmin
Is there a way to increment a numerical value when using a web services method within TDAdmin? This is for the year value when setting the GoesOffHoldDate. We have a workflow that is to create its tickets on a perpetual basis quarterly (it's a quarterly review of changes). I can hard code the month & day, but need to automatically increment the year when I reach the 1st quarter annually.
Example: "GoesOffHoldDate":"{{OrigYearInteger}}-07-01T00:00:00-04:00",
The webapi docs say only JSON is supported, so I don't know f the value could be changed like one could in JavaScript (say, ++OrigYearInteger) from within TDAdmin as opposed to running it through an outside script.
David
Answers (3)
Hello David,
We do not currently support or allow data transformations of any sort in the Web Service builder pages.
You could suggest this as an enhancement idea, but it is not a current feature.
Please let me know if I can be of any further assistance in this matter.
Sincerely,
Mark Sayers
TD Support
Hi David,
I recently had a similar problem and came across this web service that may be useful to you: https://api.mathjs.org/