So, a couple things here. I realize that I am calling out a specific request type to be created and workflow to be used. This command previously worked and how it "broke" I do not know. When I get to the workflow cstep that initiates the creation of the new child request, the timeclock starts, completes and there is no reference request made/attached to the original request.
I have tried interchanging the ksc_create_request with ksc_copy_request and this does not work either.
My execution step is using this validation: WF - Standard Execution Results
My processing type is Immediate
My execution step is enabled
and my timeout is set at 90 seconds
Attached is the Transaction Log for the request.
Thanks in advance for any suggestions or assistance.
So I went back to the original request type and ensured there was a "Proposal Name" field. When I run it now it gives off this error:
An error occurred during command parsing. (KNTA-10127) GUID=CD413520-E69E-A212-D1C5-4D63A9C960B7 Unknown or out of sequence command: [ksc_create_request FROM_REQUEST_ID="31935", REQUEST_TYPE_ID="30670" COPY_FIELDS="Y" COPY_NOTES="N" CREATE_REFERENCE="Y" REF_RELATIONSHIP_ID="16" SUBMIT="Y" WORKFLOW_ID="30928"]
Erik, thanks for the suggestion. Unfortunately, it gives off the same error:
An error occurred during command parsing. (KNTA-10127) GUID=C20CDF65-72EA-D3A6-68B7-DD5EF970579C Unknown or out of sequence command: [ksc_create_request FROM_REQUEST_ID="31937" REQUEST_TYPE_ID="30670" COPY_FIELDS="Y" COPY_NOTES="N" CREATE_REFERENCE="Y" REF_RELATIONSHIP_ID="16" SUBMIT="Y" WORKFLOW_ID="30928"]
Yeah, it looks like you're tyring to create a proposal. Are you copying it from an existing proposal, or project? If so, KCRT_FG_PFM_PROPOSAL.PROPOSAL_NAME maps to the field in your header with the token KNTA_PROJECT_NAME.
Solved! Thanks to everyone who helped. I went back to the original request header, added the field group for PFM Proposal and this allowed the workflow to create the request correctly. Thanks again for your assistance.
Hello, we have a problem when the execution of comand ksc_copy_request generate an error. We need read the return code of command ksc_copy_request and if the code is 0 show a Message and act consequently.