I am trying to get a custom workflow working, which copies the values of one field to another field. The form is made up of 2 steps. On step one you can select from a list of available dates, and the idea is to show what you had selected on Step 2. The PartiallySubmitted does not appear to trigger a workflow, so i have been trying to work with the Resumed workflow (just to get the logic working). The problem i am facing is that when my workflow runs the data in the record is not current, i have also noticed that while my data does get saved (have checked the db) it then gets overwritten. It appears that the workflow is actually run before the record data has been updated, and then anything i do to the record gets overwritten. Maybe something in my code is worng, I would appreciate any help. Thanks. My code is below
Custom workflow
I am trying to get a custom workflow working, which copies the values of one field to another field. The form is made up of 2 steps. On step one you can select from a list of available dates, and the idea is to show what you had selected on Step 2. The PartiallySubmitted does not appear to trigger a workflow, so i have been trying to work with the Resumed workflow (just to get the logic working). The problem i am facing is that when my workflow runs the data in the record is not current, i have also noticed that while my data does get saved (have checked the db) it then gets overwritten. It appears that the workflow is actually run before the record data has been updated, and then anything i do to the record gets overwritten. Maybe something in my code is worng, I would appreciate any help. Thanks. My code is below
is working on a reply...