Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MDM java api's

Hi,

i am working on MDM java api's . when i am working with workflows i can able retrieve the workflows and creating the job . but i am unable to launch the workflow through JAVA API'S.Is it possible through Java api's. please help me in this concern.

Tags:
replied

Hi Ratna,

Check n use the following code, might be usefull....

LaunchWorkflowJobCommand LWJC = new LaunchWorkflowJobCommand(connections);

LWJC.setSession(session);

WorkflowJobId WJID = new WorkflowJobId(<Check job id in ur work flow and insert here>);

LWJC.setJobId(WJID);

try

{

LWJC.execute();

}

catch (CommandException e)

{

e.printStackTrace();

return;

}

Cheers,

Cherry.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question