ActivityFunctionsSaveDocument Method

Scanjour Workflow4 Reference Manual
Save document in repository.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public static Record SaveDocument(
	ActivityContext context,
	string fileID,
	Record primaryRecord,
	Stream documentStream,
	string title,
	string documentExtension,
	IEnumerable<RecordContact> parties = null,
	string recordState = "ARK",
	string recordType = "DOK"
)

Parameters

context
Type: System.ActivitiesActivityContext
The activity context
fileID
Type: SystemString
ID of a file to store document on. Provide ID of file containing primary record if save under other document
primaryRecord
Type: Record
Document that will be parent for document being saved
documentStream
Type: System.IOStream
Document content
title
Type: SystemString
Name under which document will be saved
documentExtension
Type: SystemString
Document extension
parties (Optional)
Type: System.Collections.GenericIEnumerableRecordContact

[Missing <param name="parties"/> documentation for "M:Scanjour.Workflow4.ActivityLibrary.ActivityFunctions.SaveDocument(System.Activities.ActivityContext,System.String,Scanjour.Process.OData.Client.Proxy.Record,System.IO.Stream,System.String,System.String,System.Collections.Generic.IEnumerable{Scanjour.Process.OData.Client.Proxy.RecordContact},System.String,System.String)"]

recordState (Optional)
Type: SystemString
Record state, default is ARK
recordType (Optional)
Type: SystemString
Record type, default is DOK

Return Value

Type: Record
Record being saved
See Also

Reference