drawing the lines between processes and operations when using custom classes

Hi,

I have a custom classes that that I use with EnsLib.SQL.OutboundAdapter to convert HL7v2 messages to SQL INSERT statements to write results to an SQL database.

Weirdly the management portal is not drawing the the lines between my process and operation when viewing my production on the ' Ensemble > Production Configuration' screen.  Clicking the green dot flashes the 'computing connections' message, and highlights my operation, but no lines get rendered: 

I am using custom classes, but they extend Ens.Request, Ens.BusinessProcess and Ens.BusinessOperation so I'm confused why the lines are not drawing automatically.

Do I need to add a directive to my classes to enable this functionality?

Kind regards, 

Stephen

--

EDIT: 

I believe these are the relevant snippets of code: 

Paremeter 'TargetConfigName'

Parameter SETTINGS = "TargetConfigName:Basic:selector?multiSelect=0&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId}";

/// Defines the destination operation or process (e.g. Main router)
Property TargetConfigName As %String(MAXLEN = "");

send the message to the operation: 

set tSC = ..SendRequestSync(..TargetConfigName,tPathResult,.tResponse) 

Answers

You'll need to override the OnGetConnections method by inserting the snippet below in your custom business process(es):

ClassMethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
  {
                Do ##super(.pArray,pItem)
                If pItem.GetModifiedSetting("TargetConfigName",.tValue) {
                                For i=1:1:$L(tValue,",") { Set tOne=$ZStrip($P(tValue,",",i),"<>W")  Continue:""=tOne  Set pArray(tOne)="" }
                }
  }

Comments

As long as you are calling the BO (Operation) from the BP (Process) via Call Activity. It should show.

Now it may be possible you are calling the BO in some other way.

Some code snippet could help

@Nareev, you're correct when the BP is a BPL. I don't believe that's the case due to the fact that Stephen's BP has a TargetConfigName property. That's not normally generated when the BP is created as a BPL.

I should add the interface is actually working (I wasn't the original author)- but I am keen to fix this.

Have you added the OnGetConnections() method I posted as an answer above to your  BP?