TestProject Forum

Can we calculate values within Parameters?

Hi all,

I want to validate the value of (Current year- Entered Year(parameter)). Is it possible to do calculations and validate using Inputs of textbox validation?


Hello @sharpat8
You can use Get Future or Past Date action

You can decide in which format to receive the output and calculate it in the past or in the future date according to the values you enter.
You can save the value in the output parameter and use it in your next steps.
Let me know if it helped you

Great! so, is this the only way to do calculations? Is there a way to use calculations within parameters like {a}- {b}?