Hi,
I've created a simple process that moves a document in to a folder based on a condition that looks at document metadata. This process starts whenever a new document is created.
If I upload a document while logged on as myself, the created by column obviously displays me as being the author. If my process fires however and moves this document in to a subfolder, the document in the subfolder then has the "System Account" in the created by column as the author (the WSS and K2 service accounts are the same on this test system).
I'm only starting out in K2 land, so don't fully understand how it deals with impersonation and process credentials. My hope is that there is a way for the process to run with the credentials as the originator, causing the move document event to run as the originator, in turn meaning the moved document would also be created by the originator. I've looked in documentation but can't find anything that discusses this.
At this point I don't have a lot of time, so will end up writing a web service to get around this behaviour, but I am obviously keen to use a better method if one exists.
Any help appreciated.
Regards,
Daniel.