Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Using the "custom" process action in xaction

  1. #1

    Question Using the "custom" process action in xaction

    i want to call a class using "custom" option in xaction. Is that possible, if so, could you please give pointers of how to do it.

    thanks in advance,
    Varadarajan N

  2. #2

    Default Wiki

    The wiki has some documentation

    and more specifically here.

    I have done this extending org.pentaho.plugin.ComponentBase and it was pretty easy. Once you get your class make sure it is in the classpath. You can jar it up and place it in server\default\deploy\pentaho.war\WEB-INF\lib

    Then add a custom step in you action sequence with the correct package/classname and it should work.

    I hope that helps,


  3. #3


    i have developed a code which runs a query on sap bw and returns a result set. i would like to use that result set for creating chart using the doAction() in charthelper.Could you give me pointers on this?

    thanks in advance,
    Varadarajan N
    Last edited by Varadarajan_N; 07-06-2007 at 07:48 AM.

  4. #4

    Default Runtime Context

    I have not returned anything from my custom class so i am not the best person to answer, but I believe by extending componentBase you have access to the runtime context and can do this:

    runtimeContext.setOutputValue(outputName, value);

    where outputName matches the name of an output defined in your action sequence.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.