Project and Portfolio Management Practitioners Forum
cancel

Error using ksc_create_project to create a projec into a request workflow

Highlighted
mvillalobos
Super Contributor.

Error using ksc_create_project to create a projec into a request workflow

Hello!

Im am trying to use ksc_create_project intoa execution workflow step to create a project from a request, but i can´t find info on how to use this funcion

the call is:
ksc_create_project PROJECT_NAME=[REQ.VP.NOMBRE_PROYECTO] REQUEST_ID=[REQ.VP.NUMERO_SOLICITUD] REGION_ID=[REQ.VP.REGIONES] FINISH_DATE=[REQ.VP.FIN] START_DATE=[REQ.VP.INICIO] PROJECT_TYPE_NAME=[REQ.VP.TIPOPROYECTO] PROJECT_MANAGER=[REQ.VP.GESTOR]
The validations for the data are the same as the normal way to create a new project.

Do you know if there is any error in the call of the function?


The error log:
Running command: com.kintana.core.server.execution.CreateProject -projectName "Probando" -projectTypeName "Enterprise" -startDate "April 2011" -endDate "May 2011" -projectManager "Admin User" -region "AST" -requestID 30590 -userID 1 -userName "admin"
The following Command Step is not subject to timing out: com.kintana.core.server.execution.CreateProject
Configuring connection...
Ready to create project from Project Type: Enterprise
Se ha producido un error interno de complemento de HP. Si el problema continúa, póngase en contacto con el servicio de asistencia de HP Project and Portfolio Management. (KNTA-10023)

Exception Correlation: GUID=AE1114A4-63A8-7ED7-9309-63A24D5A2C2E
Generated Time=2011/02/21-11:22:05.621 CET
Server Node Name: HPPPM For input string: "AST"

Thank you very much
4 REPLIES
jerome.vovard
Super Contributor.

Re: Error using ksc_create_project to create a projec into a request workflow

Can you manually create the project?
itgppm
Regular Contributor.

Re: Error using ksc_create_project to create a projec into a request workflow

Please check if Project Type , region etc is field.
If everything is fine can you go to Status section and paste the log of the step.
Edtroleis
Super Contributor.

Re: Error using ksc_create_project to create a projec into a request workflow

Pay attention in 'P' and 'VP'. Try this:

ksc_create_project PROJECT_NAME="[REQ.VP.NOMBRE_PROYECTO]" REQUEST_ID=[REQ.P.NUMERO_SOLICITUD] REGION_ID=[REQ.P.REGIONES] FINISH_DATE=[REQ.P.FIN] START_DATE=[REQ.P.INICIO] PROJECT_TYPE_NAME="[REQ.VP.TIPOPROYECTO]" PROJECT_MANAGER=[REQ.P.GESTOR]
mvillalobos
Super Contributor.

Re: Error using ksc_create_project to create a projec into a request workflow

Thank you very much to all.

The problem is fixed.

I had a problem with the format of the info. It is needed to put the ID of Region and the ID of start and finish dates from BBDD.

It comes from KNTA_REGIONS_NLS & PPM_FISCAL_PERIODS_NLS