drawing the lines between processes and operations when using custom classes
Hi,
I have a custom classes that that I use with
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
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)
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
Good point. I have added the code snippets to the question.
@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?
I have!
Thank you - you code works beautifully.
Kind regards,
Stephen
You'll need to override the OnGetConnections method by inserting the snippet below in your custom business process(es):
{
Do ##super(.pArray,pItem)
If pItem.GetModifiedSetting("
}
}