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
royari
4 years agoContributor
Automation of workflow using connector BR
We are loading data using SQL connector business rule and it works fine manually. Now looking for a way to load it automatically using a extender business rule and then calling from DM step. All d...
- 4 years ago
If I understand this correspondence, you want to automate the data load of a Workflow that is bringing in data through a Data Connector. If that is the case, yes, you can automate this process.
1. Create an Extensibility Rules Business Rule. You will probably want to create the logic under Unknown and ExecuteDataMgmtBusinessRuleStep. This is so the logic executes manually and during the execution of a Data Managment Step. For example:
Select Case args.FunctionType
Case Is = ExtenderFunctionType.Unknown, ExtenderFunctionType.ExecuteDataMgmtBusinessRuleStepThe BR would use a trigger file with the naming convention for Workflow Name, Scenario, and Time to identify where to load data to. Set the processing switches ( Import, Transform, Load Cube, Process, Confirm etc ) to perform as part of the data loading process. Then execute the batch
2. Create a Data Management Sequence and an Execute Business Rule Data Management Step and assign the Extensibility Business Rule to the Data Management Step. There is an example of this setup in the Golfstream Reference app. It is under Data Management called Batch File Loading
3. To automate, setup a New Task in Task Scheduler. This is under Application > Tools > Task Scheduler. This is where you can automate how often you want this process to execute.
I believe Task Schedule was a new feature starting in 6.4 or 6.5 so you will need to be on, at the minimum, one of those versions. If not, you can use PowerShell to execute the automation.
Hope this answer addresses your question and points you in the right direction.
JoakimK
OneStream Employee
4 years agoNicole,
I understand. However, as you mentioned there is no criteria that is consistent with the timing you are looking for I would say it would be near impossible to have this be part of a complete lights out approach. If a criteria can be used then this can be programmatically defined for sure, but as long as you do not have that, the only approach would be to have a manually updated parameter which you already do.
NicoleBruno
4 years agoValued Contributor
Hello!
This ticket wasn't created by me and I'm not looking for a lights out approach 🙂
- JoakimK4 years ago
OneStream Employee
Right you are! Apologies 😁
Related Content
- 9 months ago
- 11 days ago
- 1 year ago
- 3 years ago