|
yegorkin
|
 |
« on: October 01, 2009, 10:06:38 am » |
|
How to determine a workflow action name from a common workflow action class?
I want to have a common tiny Java class instead of a dozen of similar classes.
Is it possible?
There is no useful parameters in the interface: public boolean applyCustomAction(WFMboRemote mbo, java.lang.String memo, java.util.Date actiondate);
By the way I can get Node name in workflow role class:
public MboRemote evaluateCustomRole(Mbo mbo) throws MXException, RemoteException { WFAssignment wfassign = (WFAssignment) mbo; String nodeTitle = wfassign.getNodeAttribute("title"); // get Node name for decisions
So I can create only 1 role class.
|