Project and Portfolio Management Practitioners Forum
cancel

How to send a field value from PPM to other system from workflow step using Web Services7.1

Highlighted
Phanishwar
Honored Contributor.

How to send a field value from PPM to other system from workflow step using Web Services7.1

Hi,

We have a business requirement where we are integrating PPM with other system.For a project in PPM we have to send updated fields value to other system mapped fields.The other system also support web services tech(publish/consume). .Please let me know if you need more details.



Thanks,
Phani
9 REPLIES
Mahen M
Acclaimed Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Hi,
You have to create a execution step of 'Workflow Step Commands' Execution type.

You can pass the values inside the commands as Tokens.

Example WS Call

echo java -Dclient.repository.dir=C:/Prod/WS1/ppm.ws -classpath %%CPATH%% examples.pm.ProjectServiceClient_refTest1 "http://wsacdfgjgb03:8081/itg/ppmservices/ProjectService" "[REQ.VP.P_ASSET_PROJECT_PLAN]" "[REQD.VP.SUMMARY_TASK_NAME]" "[REQD.VP.TASK_NAME_REQ]" "[REQD.VP.TASK_CODE]" "[REQD.VP.TOPLEVEL]" "[REQD.VP.TOPSEQ]" "[REQD.VP.BOTTOMLEVEL]" "[REQD.VP.BOTTOMSEQ]" "[REQD.VP.SUBPROJLEVEL]" "[REQ.ASSIGNED_TO_USER_ID]" "[REQ.REQUEST_ID]" "[REQD.VP.SCHED_START]" "[REQD.VP.SCHED_END_DATE]" >> C:\Prod\WS1\ppm.ws\bin\runSOAddTaskToProjectPlanWork.bat

Regards,
Mahendran M
Mahen M
Acclaimed Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Phanishwar
Honored Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Thanks!!

which command to be used to send updated field value in project details section?.You mean the command would be calling client program(java) from the workflow step
Mahen M
Acclaimed Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Yes, Command will call the WS Java Client code from workflow.

Regards,
Mahendran M
Phanishwar
Honored Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

for project management which command to be used? any idea
Mahen M
Acclaimed Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Are you using the HP provided Toolkit?

Regards,
Mahendran M
Phanishwar
Honored Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Yes.
Nisha Kurien
Honored Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

This is how we implemented WebServices.

We built the code in VB .Net and created an .exe file after compiling. The code was built such that it can take in parameters. This .exe code was then placed on the PPM Application server.

From the workbench, we created an execution step and used the command
ksc_local_exec D:\Remedyintegration\WSCall.exe [REQ.REQUEST_ID]|[REQ.DESCRIPTION]

Once this information is passed to the .exe, the code built communicates with the Remedy system and creates a request in Remedy and passes the Remedy Ticket #, which we then update in PPM. So we have a two way communication between both systems.

Hope this helps.


Phanishwar
Honored Contributor.

Re: How to send a field value from PPM to other system from workflow step using Web Services7.1

Thanks!!..No it's much clear..