Forum Discussion

Mikki's avatar
Mikki
New Contributor III
4 hours 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
    3 hours 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)