The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Bring OOB field (due date) on catalog task and populate value

Saba Baig
Tera Contributor

How to bring out of box field i.e "due date" on Catalog task form and have value 10 + days from date of creation.

It should be applied only on a particular catalog item and not effect globally.

@Maik Skoddow @Gaurav Shirsat @Mark Roethof @Ankur Bawiskar @Chuck Tomasi 

3 REPLIES 3

Samaksh Wani
Giga Sage
Giga Sage

Hello @Saba Baig 

 

You can bring the Due date field from Form Layout into the task form and write a onLoad() Client Script,

 

where in condition you have to mention the particular catalog item have the visibility of due date field.

 

 

for addition of 10 days from date of creation.

 

 

date.addDays(10);

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh

where do we need to add this 'date.addDays(10);'

is it in the workflow?

You can use it anywhere what ever you are using in your use case.