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

    Redundant tags in jBPM4JSF

    David Lloyd Master

      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.