ITestApiCreateDocumentUploadSession 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.
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
SyntaxGuid 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.
See Also