docs: public void fireBeforeDynamicTaskAdded(String caseId, CaseFileInstance caseFile, long processInstanceId, String nodeType, Map<String, Object> parameters) {
          final Iterator<CaseEventListener> iter = getEventListenersIterator();
  
          if (iter.hasNext()) {
              final CaseDynamicTaskEvent event = new CaseDynamicTaskEvent(identityProvider.getName(), caseId, caseFile, nodeType, parameters, processInstanceId);
  
              do {
                  iter.next().beforeDynamicTaskAdded(event);
              } while (iter.hasNext());
          }        
      }