It's all about the answers!

Ask a question

Date Restriction


Ana Carolina Silva de Toledo (132) | asked Nov 14 '18, 10:07 a.m.

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



permanent link
Ian Wark (79713550) | answered Nov 28 '18, 10:54 p.m.

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


Register or to post 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.