Hello,
We have a new business process that needs to be able to insert date tokens in a Laserfiche Search for the first day of the preceding month and another for the last day of the preceding month. The date the process runs will determine what the date range is.
Example: The process is scheduled to run on the 15th of each month so for this example lets use February 15th, 2015 as the scheduled date the process will run.
I then need to calculate the date tokens for the first day and last day of the month prior to the date the process is scheduled to run. So the dates I would need to be calculated are: Jan 1st, 2015 and Jan 31st 2015.
Those dates will be used as tokens in the Laserfiche Search in order to find the correct entries that the rest of the business process will use.
Since the days of the month vary from month-to-month, is there a way to do this in Workflow without using some custom script?