Forum Discussion
So, I see you have had one reply above, which works, but just to expand on this a little.
You can use that function you are referring to, all you would need to do is to first make sure you create an empty file in the Batch Harvest folder, lets call it a "trigger" file, with the correct naming convention to identify the WF name, Scenario, Time and load method (just the same as it would have been a file containing data). Then when you execute the BRApi.Utilities.ExecuteFileHarvestBatch the system will know its a connector based import workflow and will trigger the import to take place.
Secondly, there is a solution available on Solution Exchange, in OpenPlace, called "Data Import Schedule Manager" which is a tool to help you schedule connector based workflows in a very easy way.
Hope that helps.
Hello JoakimK?,
I downloaded the "Data Import Schedule Manager" solution and set up an automatic import with it but the import failed because of this:
Do you know how this can be solved ?
Thank you for you help.
- mtejjini5 months agoNew Contributor III
The version of the solution downloaded is DSM_PV8.2.0_SV100_PackageContents.
Framework 4.8- mtejjini5 months agoNew Contributor III
I changed this part of the BusinessRule Extender DSM_EmailHelper :
Dim fileExists As Boolean = False If My.Computer.FileSystem.FileExists(filepathNoSpace) Then If Not fileAttachmentPaths.Contains(filepathNoSpace) Then fileAttachmentPaths.Add(filepathNoSpace) End If fileExists = True End If
by putting this one instead:
Dim fileExists As Boolean = False If File.Exists(filepathNoSpace) Then If Not fileAttachmentPaths.Contains(filepathNoSpace) Then fileAttachmentPaths.Add(filepathNoSpace) End If fileExists = True End If
and it worked fine for me. JoakimK do you see any inconveniant for this change ?
Thanks for your help- JoakimK5 months agoContributor
That is exactly right! And this is how it should be fixed. I will notify the owner of the solution to make sure its updated in OpenPlace as well. Thank you.
Related Content
- 4 months ago
- 8 months ago
- 7 months ago