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
vmanojrc30
3 years agoContributor
SQL Connectors with Multi period selection dynamically
I am setting up a Workflow with a SQL connector data source. I need to be able select a range of periods (start and end period) within the SQL query to extract the balances for multiple periods and l...
- 3 years ago
It's not possible (for good reason) to have drop-down / combo box selections on the Import step on an Import workflow.
For the date range selection on the SQL, this is usually performed by the end user making a conscious decision to select (a) A particular workflow profile, (b) A particular year, (c) A particular scenario.
The workflow profile settings, and the scenario settings have various attributes such as Input Frequency, sometimes scenarios contain start/end periods (scenarios with custom range), workflow profile properties determine the tracking frequency (e.g. monthly for actuals, 12 periods for budget )If you have drop-down boxes on the import step, for ad-hoc user period range selection, then this would be very error-prone. You could do this by building a simple dashboard, and then have an import workflow profile of type : [Workspace, Import, Validate, Load]. The first step (workspace) runs a simple dashboard with your drop-down period selections , and that runs a query to pull data into a sort of pre-staging table, then when you go to the Import step, it pulls the data retrieved from the dashboard into the main stage tables , where the transformation rules can work from.
mansi
2 years agoNew Contributor
Parallel load of periods is not possible in OneStream. It has to run sequentially. You can write Extensible BR with following APIs
BRApi.Import.Process.ExecuteParseAndTransform(si, wfClusterPk, String.Empty, Nothing, TransformLoadMethodTypes.Replace, SourceDataOriginTypes.FromDirectConnection, True)
Dim ValidateTrInfo As ValidationTransformationProcessInfo = BRApi.Import.Process.ValidateTransformation(si, wfClusterPk, True)
Dim ValidateIntInfo As ValidateIntersectionProcessInfo =BRApi.Import.Process.ValidateIntersections(si, wfClusterPk, True)
Dim LoadInfo As LoadCubeProcessInfo = BRApi.Import.Process.LoadCube(si, wfClusterPk)
Related Content
- 9 months ago
- 5 months ago