Project and Portfolio Management Practitioners Forum
cancel

How to call Java Class from a workflow

Highlighted
James++
Super Contributor.

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
Acclaimed 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++
Super Contributor.

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.