I have a workflow that's failing on Server b/c it uses the date function MONTHSTART. Does anyone know of a way to use something similar that will run on Server? Here's the function with generic field names if that helps.
IF DateTimeFormat(DateTimeToday(),"%d") > "15" and [scheduled_date]>= MONTHSTART (DateTimeToday()) and [scheduled_date]<=(DateTimeAdd(MONTHSTART(DateTimeToday()),+15,"days"))then "Keep"
elseif DateTimeFormat(DateTimeToday(),"%d") < "15" and [scheduled_date]>=
DateTimeFormat(DateTimeAdd(MONTHSTART(DateTimeAdd(MONTHSTART(DateTimeToday()),-1,"days")),+14,"days"),"%Y-%m-%d") and
[scheduled_date]<= DateTimeFormat( DateTimeAdd(MONTHSTART(DateTimeToday()),-1,"days"),"%Y-%m-%d") then "Keep"
else "Leave" endif