CreateDefinition method creates a deWorkflowDefinition object using the provided name of the definition.
Gets the FWProcessDefinition object using the definition ID.
Creates a User object, which is given the user information.
Gets a list of Workflow users into a dictionary object.
Gets the current user’s workflow user ID; this user ID is maintained internally to identify the user.
Get the current user's user session by utilizing the API method FWProcessDesign.GetUserSession().