newAction.setCreatedTime(new Date());
insertList.add(newAction);
LOG.debug("SignalXCommand: Name: " + newAction.getName() + ", Id: " + newAction.getId()
+ ", Authcode:" + newAction.getCred());
if (wfAction != null) { // null during wf job submit
ActionService as = Services.get().get(ActionService.class);
ActionExecutor current = as.getExecutor(wfAction.getType());
LOG.trace("Current Action Type:" + current.getClass());
if (!suspendNewAction) {
if (!(current instanceof ForkActionExecutor) && !(current instanceof StartActionExecutor)) {
// Excluding :start: here from executing first action synchronously since it
// blocks the consumer thread till the action is submitted to Hadoop,