The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Java Class from a workflow

Highlighted
James++
Regular Collector

How to call Java Class from a workflow

Someone please guide me how to call a java class from a workflow execution step.

Actually I want to transfer the data from the request fields to the java class, and then wanted to run that Java class.

2 REPLIES
Erik Cole
Honored Contributor

Re: How to call Java Class from a workflow

You could maybe create a new workflow step source that uses ksc_run_java to call your code and pass the request parameters. Look at the commands used by the Request Type Detail Report for example:

ksc_run_java com.kintana.core.server.execution.CvtFileNameToLowerCaseCommand "[AS.REPORT_DIR][RP.FILENAME].html"
James++
Regular Collector

Re: How to call Java Class from a workflow

Thanks Erik,

But i want to call a Java class which is in different directory, how to call that.

Is there any document which i can refer for help.
//Add this to "OnDomLoad" event