we have created a flow in javelin and we are trying to execute a .vwf file using batch file. but we are not able to execute. Getting an error as below:
while executing we got below error,
Start: 2019-02-13 15:51:36.139
Variables file cannot be found at path: E:\Desktop\insert\.
Using output directory: H:\Desktop\insert\.
Start: 2019-02-13 15:51:36.196
Exception Running Flow - The file 'H:\Desktop\insert\SAMPLE.vwf' may have come from a location that isn't fully trusted. It could present a security risk by opening the file that could cause damage to your computer or compromise your private information.
To avoid this exception, please do the security check first (you can refer this link http://msdn.microsoft.com/library/system.security.permissionset.aspx to get information about IsUnrestricted check) and turn on LoadingFromUntrustedSourceEnabled by setting DesignerConfigurationService.LoadingFromUntrustedSourceEnabled = true from workflow designer.
Make sure the workflow file (.vwf) is available on local machine (not on shared folder). And user has full access to read/write privileges. If you are using shared folder and getting this error, copy the file to local drive and modify the batch script to point the file path to the local path and execute the script.