title: How to execute FireAllRulesCommand in Kie server
body: <p>We referred the documentation "<a href="https://docs.jboss.org/drools/release/6.4.0.CR2/drools-docs/html/ch22.html" rel="nofollow noreferrer">https://docs.jboss.org/drools/release/6.4.0.CR2/drools-docs/html/ch22.html</a>" for executing the rules in the kie Server. We used the below steps </p>
  
  <p>Executes operations and commands against the specified Container. You can send commands to this Container in the body of the POST request. For example, to fire all rules for Container with id MyRESTContainer (<a href="http://SERVER:PORT/CONTEXT/services/rest/server/containers/instances/MyRESTContainer" rel="nofollow noreferrer">http://SERVER:PORT/CONTEXT/services/rest/server/containers/instances/MyRESTContainer</a>), you would send the fire-all-rules command to it as shown below (in the body of the POST request):</p>
  
  <p>xample 22.9. Example Server Request to fire all rules</p>
  
  <p></p>
  
  <p>But we did't get any response from the server.</p>
  
  <pre><code>    package com.myspace.test;
  
  function String hello(String name){ 
    return "Hello " + name; 
  }
  
  function boolean isNameJoJo(String name){ 
    if(name == "Jo-Jo") 
      return true; 
    else 
      return false; 
  }
  
      rule "Call function directly" 
      when 
    eval(isNameJoJo("Jo-Jo")) 
  then 
   hello("isNameJoJo is true");
  end
  
  rule "Hello World Using A function defined in the DRL"
      when
      then
       hello("Georgina");
  
  end
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>  {
    "type" : "SUCCESS",
    "msg" : "Container test_2.0.0 successfully called.",
     "result" : {
      "execution-results" : {
        "results" : [ {
          "value" : 0,
          "key" : "Hello World Using A function defined in the DRL"
        } ],
         "facts" : [ ]
       }
     }
   }
  </code></pre>
  
  <p>Actually I want the output of the rule.
  ie, "Hello Georgina"; </p>
  
  <p>Can any one had any idea about this. </p>
  
  <p>Appreciate your valuable thoughts.</p>