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

Mikki's avatar
Mikki
New Contributor III
5 months ago
Solved

Throw error when Clear/Deleting file in WF Import using TR event handler

Hi, I have been playing around with TransformationEventHandler and one of the things I am trying to do is throw an error when an user tries to clear imported/stage data. I think I got the code but ...
  • rhankey's avatar
    5 months ago

    You can use the following to get the WF info while in the TrasformationEventHandler:

    Dim WFInfo As WorkflowProfileInfo=BRApi.Workflow.Metadata.GetProfile(si,si.WorkflowClusterPk.ProfileKey)