Skip to main content
Solved

Validate task parameter


ElenaTodirenchi
Vanguard
Forum|alt.badge.img+1

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?

Best answer by Renée Evertzen

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!

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

ElenaTodirenchi
Vanguard
Forum|alt.badge.img+1

Thank you! It helps :)


Renée Evertzen
Moderator
Forum|alt.badge.img+4

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings