Greetings All,
I am currently working on a workflow script that creates a personal stamp and is initiated by a business process. The stamp gets created and is saved under the WFuser, the user that is specified in the workflow's connection profile. I believe it is saving under this user because I am using the RAsession object that is provide by that connection profile. Is there a way to pull the session of the user that initiated the business process, or if there is a way to save the personal stamp under a different user from the one specified by the RAsession?
Please let me know if I need to clarify on anything, and any information on this is greatly appreciated!
Thank you!
Bich
Code snippet for saving stamp.
StampInfoReader ListOfStamps = Stamp.EnumPersonalStamps(RASession); foreach (StampInfo SI in ListOfStamps) { if (SI.Name == "Dynamic") { SI.Delete(); SI.Save(); } } StampInfo SInfo = new StampInfo(RASession); SInfo.IsPublic = false; SInfo.Name = "Dynamic"; SInfo.ImageData = image; SInfo.Save();