Skip to main content

Hello,

I have a task with one parameter (data type: date) and I want to have a condition on it to be a date smaller than another date from the table. Basically I have in a table 2 dates (a and b) and with the task I want to complete b date and this date to be smaller than a; and the user to not be able to select a date bigger than a. It is possible?

Hey Elena,

If you add both date A and date B to the task as a task parameter, with date a just being a task parameter without a table link and date B being a task parameter with a table task parameter link to the correct table column value.

If you have all of that set up, you can write a default for this task and assign it to the task to compare the dates to each other and execute a check that date A has to be smaller than date B.

More information on using Defaults can be found here: https://docs.thinkwisesoftware.com/docs/sf/business_logic#default

Hope this helps!


Thank you! It helps :)