Setting current date to the process field

  • 4 January 2006
  • 1 reply
  • 2 views

Badge +1
Hi,

I have a process level date field. I want this field to be pre-populated with the current system date when my plan page loads. How can I declare the initial value of the process field to the default server date?!

:idea: idea please!
- Kash

1 reply

Badge +8
Hi,

You set the value of a textbox to be the current system date in the page load event, hide the textbox if you don't want the users to see it. Then you just bind the textbox to the applicable K2 datafield.

You may also want to look into the StartDate property of the ProcessInstance object if you need to get the date that the process was started on.

Reply