Your test logic may often require entering or validating dates. And most commonly, such dates cannot be hard-coded in the test logic. Instead, you would want to pass a relative date, while keeping the actual value of the date dynamic.
For example, in a flight search application, departure date and arrival date should be entered relative to the current date.
Step 1 - Action Parameters
Mark the departure and arrival date as input parameters to the Flight Search action
Step 2 - Action logic
Put appropriate code logic to convert relative days to an absolute date. As you can see in line #1, use the command "Add to Current Date" to get absolute date from a relative date passed as input.
Step 3: Setting up test case data
In the scenario where this action is used, provide date input as relative days. For example, to get today's date, use "0". Negative values can be used in case date in the past is required.