WorkPath 4.1.0.50 Release Notes

All Versions

Enhancements

  • Added several new Tool Objects to be used in Document Processes:

    • “HTML to PDF Conversion” Tool Object

    • “Get Sub Folder List” Tool Object

    • “Get File List” Tool Object

  • Added new “TLS” and “Security” option support to “Email Output” Tool Object.

  • Added option for “Loop Index Counter Variable” name to be set, thus allowing nested loops. Each loop will need to use a unique Variable Name.

  • Added Multi-Record Support for XML Files. A root record name needs be specified. It will then go through all instances of that record and put all fields specified into unique data sets that will get processed separately.

  • Added “Force HTML Conversion” option to the “Use Alternate Saving” method to deal with MHTML-formatted email bodies. Only use this where absolutely needed, because it is an expensive operation from the standpoint of resources.

  • Weblinker/Oauth Tokens storage has been moved from: C:\Users\USERNAME\AppData\Roaming\ScanPathDesktop\Tokens to C:\ProgramData\PrismSoftware\Tokens.
    Now, all tokens are stored using a unique GUID in a common folder across all products. The code is set up to move tokens from the current user’s folder to the new location if that same token is not already present in the new location. If needed, a token can be manually moved from the user’s folder to the location specified above before starting the server.

  • Updated the DotNetBrowser Chromium Library that is used for Weblinking and OAuth authentication.

  • Replaced all installed in the UI of the word “oAuth” with “OAuth”.

  • Replaced default OAuth Variable name from “oAuthVar” to “OAuthVar” and “oAuthToken” to “OAuthToken”. The old name may be saved in projects so that should be checked when added new EndPoints to make sure casing matches, or failure could occur on exiting projects.

  • Made change to expression token parser code that checks for expression markers to include built-in expression global vars.

  • Updated online Help web links.

  • Reworked expression parsing so the internal Tokens.Parse code checks to see if the value contains “expression” markers in the value before parsing it. At least one valid expression marker ( JOB. , SERVER. , PROCESS. , “ , < , > , = , ( , ) , & , + ),  must be found when that flag is enabled in order for that value to be parsed. If there are no expression markers, then it skips the parsing and uses the value verbatim.

  • Added a “Show Errors” radio button to the Expression Editor. If the button is enabled (checked), it will return the error message instead of what the process would normally receive.

  • Rebuilt all FTP functionality to support FTP/FTPS/SFTP. Existing Inputs/Outputs/Objects may need to be set up again, because the class that stored their settings was replaced with a new class, due to the extra settings required.

Resolved Issues

  • Fixed an issue where the “Password” field in an FTP Output was not being parsed correctly during processing.

  • Fixed issue where the connection to SFTP was not working when using a SSL Certificate. On the FTP Options screen, the “SSL Protocol” Certificate options are now grayed out when “SFTP” under FTP Type is selected.

  • Fixed issue with Time/Date Choice object when it was not parsing variables and was just using the value verbatim.

  • Fixed Null Reference Error that can occur in the SharePoint Output dialog that can cause the form to suddenly close.

  • Fixed Microsoft CSOM issue with SharePoint Directory browse unable to open directories with more than 5000 items in it.

  • Fixed GUI issue with Expression Editor Dialog.

  • Fixed issue in Delete Message in Email code.

WorkPath Standard

Enhancements

  • Added “Advanced Google” Object Tool.

  • Added “DocRecord Delete Folder” Object Tool.

  • Enhanced Input Vars to be dynamically available based upon the type of Input that is linked to the Workflow. For example, if you only have a File Input linked, then only the File Input-related Vars would be added. Same if you have an Email Input linked. If you have both linked, then both sets of Vars would be added, etc. This also lets the code dynamically parse the column field from the File index Input and Database Input and have those display, if linked. Users should open up the Database Inputs and save them so that the selected columns are updated to the data structure.

  • Added “Only Between The Hours” option to Database Input and to Input Scheduler.

  • Modified “Object Vars” icon to make it look different from “Add Var” icon. Correction and HTMLReader now show “Object Vars”.

  • Added warnings to Object Vars button when an object that can have vars, currently has none, and also when an objects mode is set to skip that the shown vars are not evaluated to scope.

  • Added a “Object Var” button on the toolbar which shows the variable that specific object will add to the variable scope when that object completes.

  • Added a “Scope Var” button the toolbar which shows the current variable list for the process at coming into that specific object. This should mimic the variable list in the expression editor while in that object.

  • Added code to filter our ServerSetting variables (DocRecord, Box, SharePoint, etc.) from the Expression Editor and Variables list so they won’t get displayed as those should always be internal/hidden variables.

  • Added Email Input options for Download Only and Use Alternate Saving Method to Email Input Process to match Capture

  • Made change to File Output to have options to overwrite file if it already exists and also to create directory if it is missing. Cleaned up so of the output code to make it a bit cleaner. Code now checks for invalid paths and preemptively throws exception rather that waiting for a failure on write.

  • Changes to Scheduler to run the code that walks the directory on its own thread that can be aborted if the process is stopped. When parsing sub directories on a large structure, especially on a remote file share, this can be slow. Before this was causing a block in the code until this returned. Not this is called asynchronously on a background thread. If the scheduler cycle fires again before this is complete, then the new cycle is ignored as it still working on the prior cycle. This prevents a stacking of back to back calls from happening when the time between cycles is too short. Being on a background thread now allows the code to kill the directory parsing if the process is stopped without having to wait for the directory parse to finish.

  • Added code to force to UI to refresh after 30 seconds if it didn’t get any updates from the Server. It’s possible that multiple events firing in quick succession could be missed and the GUI shows a file still processing after it complete. But since no other event has happened on the server it never updates the GUI. This forces a refresh if it doesn’t get an update from the server after 30 seconds.

  • Added “Remember Files” option to Scheduler Input. When this option is selected, the input will not delete files the files.

  • Improved code for normal OneDrive Output

  • Improved error messaging on the SharePoint Folder browser when a connection cannot be made for any reason.

  • Removed Evernote as a support option in products

  • Improved DocRecord the reporting of DocRecord specific error messages when an object fails

  • You can now automatically email log files within a process using the Error Tool Object or at the end of a process, etc. The Log File Path and Name are now available as JOB.Vars (or as Global Vars).

  • Added a “Test” button to FTP Output.

Resolved Issues

  • Fixed an issue where out-of-scope Input variables showed up in WorkPath DocRecord where they are not available.

  • Fixed an issue where the “Misc” > “Add Log Entry” Tool Object was not saving data when using the Expression Editor.

  • Fixed GUI issue with “CSV Reader” Tool Object.

  • Fixed an issue in the FTP Input Editor where it was incorrectly prompting the user to select a Process, when “Download Only” was selected.

  • Fixed issue with Add Image object where it was not handling transparent images correctly

  • Fixed issue with SharePoint Folder browser not adding the slash to the beginning of the path when browsing further than the library level.

  • Fixed an issue under “Outputs” > “OneDrive for Business” where the user was unable to upload a document.

  • Fixed an issue under “Output” > “HTTP Upload” where the “HTTP Response Code” was unavailable to rest of process.

  • Fixed issue with edit button/double click being ignored when the Process Manager is first opened for a few seconds.

  • Fixed issue with DropBox reporting an error even though the file was successfully uploaded.

  • Fixed issue on DocRecord Create Document when using stored setting where the server name was not being set, which caused all API calls to fail.

WorkPath Advanced

Enhancements

  • Added several new Process Inputs: “Box”, “DropBox”, “Google Drive”, and “OneDrive” Input.

  • Added several new Advanced Tool Objects: “Box”, “DropBox”, “OneDrive”, and “FTP”.

  • Reworked how error handler works behind the scenes. LastObjectError is now visible through the entire process. Error Handler write override status to Process Log.

  • Added Error Handler Tool Object which can be used after an object to handle errors, and based on expression take another path or ignore the error

  • Made changes to Google object so items that are in the Trash are filtered and are not considered when creating/uploading/downloading/etc.

  • Added “Time Out” value option to REST Endpoints.

  • Added “Test” button to SharePoint Input.

Resolved Issues

  • Fixed an issue where Input Variables for Advanced Objects were not showing up in the Expression Editor.

  • Fixed issue with some Advanced only objects showing up in the Non-Advanced Process Editors.

  • Fixed an issue where the user could not enable Upload to DropBox Subfolders.

  • Fixed issue with some Advanced-only objects showing up in the Non-Advanced Process Editors.

  • Fixed issue with FTP Dialogs having two test buttons.

  • Fixed issue in advanced object where some variables had misspellings.

  • Fixed issue with “FTP” > “Get File List” and “Get Sub Folder” List objects.

  • Fixed an issue under “SharePoint” > UpdateFile” > “File Path”, where expressions were not being evaluated correctly.

  • Fixed an issue under “OneDrive” > “Delete Folder” that was always generating a “NoContent” error when the folder was deleted from OneDrive.

  • Fixed an issue under “OneDrive” > “Move File” where the user was unable to move documents to the root folder.

  • Fixed an issue under “FTP” > “Get Folder Info” where some variables were not populating in the Variables list.