The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
MK
2 years agoNew Contributor II
Automate workflow using BRAPi.Utilities.ExecuteFileHarvestBatch
Hi
Can I please get the working example of workflow automation using BRAPi.Utilities.ExecuteFileHarvestBatch function.
My workflow works fine manually, and it is connector based. And I wanted t...
JackLacava
OneStream Employee
2 years agoIt's in the Accepted Code Samples section, which can be found by searching the site (the search box at the top of the page). https://community.onestreamsoftware.com/t5/Accepted-Code-Samples/Extender-automate-Import-Validate-Load/ta-p/6915
Edit: if you are not familiar with general automation via rules, the process is:
- In Business Rules, create a rule of type Extender
- place your code under the case ExecuteDataMgmtBusinessRuleStep and save
- In Data Management, create a Step of type Execute Business Rule
- Specify the Extender in the "Business Rule" property, and pass parameters if necessary.
- Assign the Step to a Sequence, or execute it directly.
MK
2 years agoNew Contributor II
Thank you for the reply. It is very helpful.
I am looking for detailed understanding of ExecuteFileHarvestBatch function. Please share the reference urls, or function definition.
- JackLacava2 years ago
OneStream Employee
If you search for ExecuteFileHarvestBatch in the online documentation, you'll find this: https://documentation.onestream.com/release_8.1/Content/Design%20and%20Reference/Workflow%20Guides/Setting%20Up%20and%20Using%20Batch.html
You can also explore and drill through the helper tree you find beside the rule editor. I described the approach (for another function) here: https://community.onestreamsoftware.com/t5/Rules/Move-file-from-File-Explorer-to-File-Share/m-p/30956#M3048
Related Content
- 16 days ago
- 3 years ago
- 1 year ago
- 2 years ago