How do I start activity (which has start rule) immediately?

  • 10 May 2010
  • 1 reply
  • 0 views

Badge +3

Hi guys,


I put start rule (datafield) to start the
activity.


But sometime I have to use goto function to go to that activity
then start it immediately.


How do I implement that?


 


Thank
you,


Kanok


1 reply

Badge +3

Thank you for your quick reply.


yes, I tried that but seem like my DateTime.Now and current DateTime on K2 server is difference.


I changed StartDate datafiled to DateTime.Now.AddSeconds(10) before goto that activity but It doesn't start in 10 second.


I have to wait for minutes.


 


So, I code this on Visual Studio. Changed datafield then goto activity. I need to start it and get the new current activity immediately.


 


Kanok

Reply