Forum Discussion

GregHertling's avatar
GregHertling
New Contributor III
3 years ago

Bypass Certified Entities upon Import

Hi, we are using a Central Load workflow to load trial balances for ~1,500 entities(set up as unrelated entities).  There are then approx 50 "Central Import" workflows where Entities are assigned and specific work is performed.  The central load file pulls all entities and will be loaded at least daily.  There are going to be cases when one workflow is certified and another still needs to be reloaded.  The import, however, fails in order to avoid loading data to a certified Entity.  Looking for any help on settings or BR to bypass already certified entities.

 

Thanks

  • Another approach which could be considered is to import that one file to the Central Workflow, but to Stage Only. Then have the individual entity Workflows use that Central Stage as a source for its specific data. This way you would end up with two processes though, one for the central import if it all, then a process per WF to source the data from there although it can all be automated and scheduled.

  • EricOsmanski's avatar
    EricOsmanski
    Valued Contributor

    Greg - have you considered a different approach? By bypassing Entities through Transformation Rules, the Source File/Connector or even on the Load Cube step (or other) I can see there being an issue where Stage doesn't reflect what is in the Cube (although what you are asking is possible). You may want to consider loading the Entities on the Workflows where they are assigned (and can take advantage of parallel processing) and then if the Profile is certified then the whole Import wouldn't get executed.

    • GregHertling's avatar
      GregHertling
      New Contributor III

      Hi Eric, thanks for the reply.  Due to the ERP vendor, there is no direct connect available, so we have a fairly static TB file from the ERP with no parameters passed from OneStream to isolate specific workflow entities.  Creating 50 different versions of the import files, in the ERP, to match the entities seemed cumbersome.  Is there another way to load from one file through specific workflows?

      We are going down the SFTP path.  I would imagine Martin's group could parse and load the file by workflow entities, although to automate he would have to check for certification as well?

      Appreciate the help on this.

      • EricOsmanski's avatar
        EricOsmanski
        Valued Contributor

        Correct, you can actually open the file and create the 50 versions of the file with only the assigned Entities in each of the 50 through a BR. Then in the rule you can check the WF Status before you execute Import. This would make sure that the Stage Records match the Cube and not have the link compromised.