Date Condition in calender

Use CheckAppState activity to check “No reference rate found” and if found then

use assign activity like below to get previous month date.
PreviousMonthDate = DateTime.Now.AddMonths(-1).ToString

if possible use type into in Date input box.