Hi,
I am triggering a WF within ION Manually and I need to validate date field to avoid back dating as shown in the screen shot below.
Appreciate if any one suggest how I can achieve this through APIs or any other option available in ION.
Hi,As a possible solution: - Add a "DateTime" parameter to the workflow (e.g. 'StartDate').- Add "Set parameter" as a first step of the workflow.- Set the 'StartDate' parameter value as 'Now()' or as 'StartTime()'.- Add a 'Decision' step to the workflow and compare the 'StartDate' parameter with 'b_Starting_Date', if the 'b_Starting_Date' is less than 'StartDate', assign a task to enter a correct date.
- Add a 'Decision' step to the workflow and compare the 'StartDate' parameter with 'b_Starting_Date', if the 'b_Ending_Date' is less than 'StartDate', assign a task to enter a correct date.
But in that case you should use "DateTime" parameters for your workflow to be able to compare them. I hope it will help you.Regards,Danil.