updating WU start date and time

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Demi
Veteran Member
Posts: 67
Veteran Member
    I have a custom flow in 9.0.0.7 that uses three webruns. All the webrun’s are using bpm/xml/workUnitBForm.do to update 1- startDate & startTime, 2- returnID 3- closeDate & closeTime. The strange thing is, after step 1 has committed a start date and time (and other fields as well); steps 2 and 3 lose the startDate & Time values. Any suggestions on how I can get the start date & time to stay committed on the workunit record?
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      I have found that when you do an update to the workUnitBForm that you have to include the Date/Time fields or they will overwrite to blank. What I've had to do is query their original values and then include them when I write my update to that record.
      David Williams
      Demi
      Veteran Member
      Posts: 67
      Veteran Member
        Thanks David! Your suggestion worked perfectly. On one hand I would really love to know why it works this way ????, but then again ....