code: public void addActionResult(ActionResult actionResult) {
          ActionResult existActionResult = getActionResult(actionResult.getActionId());
          if (existActionResult != null &&
                  existActionResult.getResultValue() instanceof ResultValueMap &&
                  actionResult.getResultValue() instanceof ResultValueMap) {
              ResultValueMap resultValueMap = (ResultValueMap)existActionResult.getResultValue();
              resultValueMap.putAll((ResultValueMap)actionResult.getResultValue());
          } else {
              add(actionResult);
          }
      }
docs: Adds the action result.
  
  @param actionResult the action result