This project has moved and is read-only. For the latest updates, please go here.

SPRedirectWithID - Can I delay the load of the Edit Page?

Apr 4, 2014 at 1:11 PM
I've got this working beautifully, but my only issue is that I have my end users entering a 9 digit number which I then convert to a "Unique ID" as text with a workflow off of a lookup table. My problem is that the Edit Form loads before the workflow is done updating the fields. Is there a way to put a timer in the redirect so that the workflow can complete? I've tried doing the GetListItems piece, but I'm not versed enough in Jquery to get it to work. Any help would be appreciated.
Apr 5, 2014 at 12:53 AM
I hit this same issue sometime last year. Each row has a field that stores workflow status I think it's called SPWorkFlowStatus. You need to check it for the desired state (probably complete). I just a quick search for sharepoint workflow status codes and found this which may help pick the right code:

Hope this helps.

Paul T.

-- Sent from Mobile