Date Restriction
I'm am creating a task for interlock requests for deploying code in our system but there are some dates that deployment cannot happen (freeze dates). Is there any way I could implement a date restriction in a timestamp attribute ?
|
One answer
I think so. You can add a validation type Script Based attribute customization to the field, so that if an inappropriate date is entered you could refuse to Save and return a message to the user.
You could make it obtain the problematic dates from the process configuration source (xml), so that it is easier to maintain different dates.
See this example for how to manipulate dates in a validator script:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.