WorkflowID is already available as a standard replacement tag
If you do this in your custom title of the workflow
<WorkID /> has been initiated on <InitiatedDate /> you will see that getting replaced
I do not know your situation.If You show a form before the initiation of the workflow then this <WorkID /> has not been generated so you are at a "chicken and egg" situation.
Try posting the workflows discussions rather than this list because there are a lot of "brains" in the OT KB and you also have means of uploading your map /form etc so it will make esay to advise you.
Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer and probably certfiable,Livelink ECM Champion 2008