Skip to main content

Hi all. I'm seeing something strange... Here's my scenario:




  • I create and start a new workflow
  • Immediately afterwards I set a data field on the workflow
    (At this point I can check in the workspace and I can see that the data field value has been set)


However, when I audit that data field there's no entry. A few lines of code later I update the data field, and this time I see an audit entry for the second change, but not the first. The code to set the data field is identical.


Can anyone shed some light as to why there wouldn't be an audit entry for the first time I set the data field?


Thanks!

Hi,


Have you tried to set the initial value at the time of data field creation. Try to play around with initial value and see the different. I think the first time change is not being considered for audit entry since the initial value is empty.


regards


nathan


Thanks Nathan, but setting a default value doesn't help. To get the first value audited I had to set the data field twice, and after that the auditing worked fine. 


Surely I'm not doing this correctly though? What have I missed? Anyone ever had to do something similar?


Reply