Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var guid = Context.GetObjectRef(Document).Id;
- WorkflowHelpers.SafeEditObjects(Gate, Process.ID, PassInfo.FunctionID, new Guid[]
- {
- guid
- }, delegate
- {
- try
- {
- //Изменяешь что-то в документе
- }
- catch (Exception ex)
- {
- Process.LogMessage("Error=" + ex.ToString());
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement