AnsweredAssumed Answered

General Tab in Properties View for Custom Service Tasks

Question asked by masroor on Nov 23, 2012
Dear Activiti Developers,

we are planning to integrate the activiti designer into our own RCP application.
Anyhow, drawing custom features (contributed via DefaultPaletteCustomizer) results in BPMN without activiti:async and activiti:exclusive attributes set. Because we heavily depend on parallel task execution, we want these flags defaulted to true or at least want to allow the end-user to choose.

Unfortunately the BPMN property section (in property tab: "General") for custom service tasks has been disabled:
public class PropertyServiceTaskFilter extends ActivitiPropertyFilter {
   @Override
   protected boolean accept(PictogramElement pe) {
      Object bo = getBusinessObject(pe);
      if (bo instanceof ServiceTask && !ExtensionUtil.isCustomServiceTask(bo)) {
         return true;
      }
      return false;
   }
}
So my questions are:
1. Is there any reason behind this decision?
2. Is there a way to supply default values for above mentioned attributes without patching activiti code? (as described here: http://forums.activiti.org/en/viewtopic.php?f=6&t=4086&start=)

Thanks in advance.
Cheers, Masroor

Outcomes