SaveDocToFolder
Saves the document into an existing folder of the open FileNet® library.
Syntax
bool SaveDocToFolder (StrParam)Parameters
String value of the Folder ID, beginning with a forward slash (/) - see the example. Smart Parameters are supported.Returns
False if there is no active FileNet document, no active FileNet library, invalid parameter, or if the active FileNet document has not been committed. Otherwise, True.Attention: If the
action cannot access the specified folder, the action directs the Rulerunner task to finish with
a status of Aborted.
Level
All Levels.Details
Places the committed FileNet document in an existing folder of the open FileNet library. Although the forward slash (/) character is a standard element of this action’s parameter, the setup of your FileNet library may mean that the forward slash is not used. Under exceptional circumstances, this action will have this syntax – note that a forward slash does not precede the Folder ID: SaveDocToFolder("1074a").- Example
Library_DS_Initialize("1040Docs") Library_Login("FileNet2,FN2") NewDocument("1040EZtwo") AddAllImagesToDocument() Upload() SaveDocToFolder("/1074a")As the example shows, you can insert this action after adding images and successfully committing (uploading) the document to the FileNet library.