I already read the topics about setting the Folio programmatically.
I use just this simple line of code in the Infopath Initialize Event (may be thats is a problem) to test setting the Folio to the Initiator name which is entered into a textbox in my Infopath form from the requestor.
By the way my form is published to a webserver
.Value.ToString(),"/my:myFields/my:tbInitiator");
}
I can submit my form but then in the Workspace the status of the Process Instance is Error. It says: XPath : "/my:myFields/my:tbInitiator" could not be resolved on this document.
Any help ?
Thx