User bio
404 bio not found
Maine, USA
Member since Feb 18, 2016
Posts:
Replies:
OnGetConnections() should return an array in the first (Output) argument, indexed by the names of the target process(es) and/or operation(s). The second argument is the production item object passed by the invocation of the method from the web ui.
Here's an example that scans the business process settings for any setting that ends with "ConfigName" or "ConfigNames" and sets the pArray argument appropriately:
ClassMethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
{
#dim tSetting As Ens.Config.Setting
Do ##super(.pArray,pItem)
For l=1:1:pItem.Settings.Count()
{
Set tSetting = pItem.Settings.GetAt(l)
If ($LOCATE(tSetting.Name,"ConfigNames?$") && pItem.GetModifiedSetting(tSetting.Name,.tValue))
{
For i=1:1:$L(tValue,",")
{
Set tOne=$ZStrip($P(tValue,",",i),"<>W")
Continue:""=tOne
Set pArray(tOne)=""
}
}
}
}
Adjust the match string in the $LOCATE() function if you're using custom setting name(s) for the target(s).
Hi William,
This is what you need:
Certifications & Credly badges:
Global Masters badges:
Followers:
Following:
The ISCAgent is available through the online distribution link at the WRC site, in the "InterSystems Components" category. The oldest version available is 2018.1, but it may work for you.