Get Current Day

This is a pre-built action in Avo Assure which is located under the @Generic element, instructs the Avo Assure to fetch the current day from the system and subsequently store it in the dynamic variable.

Syntax

Input Value: N/A

Output Value:

Argument
Description

<Dynamic Variable> (Required)

This variable store current day in provide input format

<Dynamic Variable> (Optional)

This variable stores the status as true or false

Example:

Get the current day of the week (e.g., Monday, Saturday) The Get Current Day action captures the current system day (e.g., Monday, Saturday). The retrieved value is stored in the {CurrentDay} variable, and the execution status is saved in the {Status} variable with the following possible values:

  • True – if the day is retrieved successfully

  • False – if the action fails

Last updated

Was this helpful?