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: 

Automatically create request

Highlighted
sevcan
Collector

Automatically create request

Hey,

 

I want to check a field in a request then I want to create another type request automatically.

 

I found the ksc_copy_request commad. But, It needs Request ID, Request type ID, Workflow ID... I can find request type ID and worflow ID but since it will be created from zero. I dont have Request ID. 

 

Does the Copy request command works without Request ID?

 

And is there another way to create a request from another request automatically?

 

Regards,

Sev

1 REPLY
Jim Esler
Honored Contributor

Re: Automatically create request

The request id that is entered is the id for the request you are copying. Fields with common definitions in this request and the one being created will be copied. Normally, the FROM_REQUEST_ID field would be set to the id of the request running the command, [REQ.REQUEST_ID]. I have never tried specifying any other request id but it could be useful.

//Add this to "OnDomLoad" event