0 Replies Latest reply on Apr 10, 2007 6:44 PM by dmlloyd

    Redundant tags in jBPM4JSF

    dmlloyd

      There are currently a bunch of tags that seem now to be redundant. For example, there's suspendTask, suspendToken, and suspendProcessInstace. This kind of pattern is repeated for a lot of operations. I think I'm going to combine these tags and perform the proper action based on the type of the argument, like so:

      * cancelProcessInstance/cancelToken/cancelTask -> cancel
      * deleteProcess/deleteProcessInstance -> delete
      * suspendProcessInstance/suspendTask/suspendToken -> suspend
      * resumeProcessInstance/resumeTask/resumeToken -> resume
      * signalProcessInstance/signalToken -> signal
      * assignTask -> assign

      This should make the taglib easier to use overall. If anyone has a problem, shout.