‎20-02-2018 04:07 PM
From script editor I'm trying to invoke a method of a Java class referenced:
mfProcToOrg = "~Rwp9agYmKXWI[UBIS Report From Proc to Org]"
Set cBP = megaRoot.getCollection("Business Process")
Set cBusinessProcess = cBP.selectQuery(sMessage, bUnique)
If cBusinessProcess.count = 0 Then
MsgBox "Selezionare almeno un processo"
End If
For Each oBusinessProcess in cBusinessProcess
Set mProcToOrg = megaroot.CurrentEnvironment.GetMacro(mfProcToOrg)
mProcToOrg.GenerateCollection megaroot, cBPSelected
Next but I'm getting the error:
Script Editor Default : Microsoft VBScript runtime error line 11, offset 2 :
Error(0x800a000d) : Type mismatch: 'mProcToOrg.GenerateCollection'
Any idea what I'm getting wrong?
Solved! Go to Solution.
‎21-02-2018 03:51 PM
There was an error on the second parameter of invoked method