09-10-2012 09:19 PM
Ciao,
to apply a ModelingRule to an OrganizationalProcess, this VB code:
wellFormed = oMegaObject.applyRule(oRule)
works fine, I would like to write in java something like this:
Boolean aBool = anOrganizationalProcess.callFunction("ApplyRule", aRule);
Any advice?
Solved! Go to Solution.
25-10-2012 09:23 PM
This code seems to work fine:
Object anObject = anOrganizationalProcess.invokeFunction("ApplyRule", aRule);
11-10-2012 09:54 PM
Just to add a note, this code:
Object anObject = anOrganizationalProcess.callFunction("ApplyRule", aRule);
throws the eception: MEGA Error 80070057.
What am I doing wrong?
Andrea
10-10-2012 09:18 PM
Hi Jerome,
thanks for your reply, but I am trying to re-write a VB macro in java.
I would like to apply a ModelingRule to a MegaObject and check if it is valid.
How could I do that?
Andrea G.
10-10-2012 09:31 AM
Hello agiovannetti