Forum Discussion

mtejjini's avatar
mtejjini
New Contributor III
5 months ago

launch automatically the import that uses a connector data source

Hello, I'm looking for a function to put in a extensibility rule that will be handled via a data management sequence to execute an automatic import in a workflow that uses a connector datasource: ...
  • TheJonG's avatar
    5 months ago

    Here is a BRApi call that will trigger an Import from an import step that uses a connector rule. Note the SourceDataOriginTypes.FromDirectConnection argument which specifies that it is a direct connect.

    Dim impProcessInfo As LoadTransformProcessInfo = BRApi.Import.Process.ExecuteParseAndTransform(si, si.WorkflowClusterPk, "", Nothing, TransformLoadMethodTypes.Replace, SourceDataOriginTypes.FromDirectConnection, True)