ITest ApiCreate Document Upload Session Method
Create new document upload session with corresponding workflow, activity and document upload component name.
This API is recommended to be called inside OnExecuting method.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
Return the document upload session ID if it excutes successfully.
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
Guid CreateDocumentUploadSession(
Guid documentId,
string workflowName,
string activityName,
string componentName,
int fileSize = 0,
string fileName = ""
)Parameters
- documentId Guid
- Use IDocumentApi to create a DocumentInfo object.
- workflowName String
- The workflow name.
- activityName String
- The activity name.
- componentName String
- The document upload component name.
- fileSize Int32 (Optional)
- File size of document.
- fileName String (Optional)
- File name of document.
Return Value
GuidReturn the document upload session ID if it excutes successfully.