Absent Member.. DirkRehmeier Absent Member..
Absent Member..

How to assign a new workflow to a running request

Assigning a new workflow to an already running request will cancel the current workflow and start with the first step of the new assigned workflow.

Does anybody know which functions have to be called to perform this from backend? We want to change the workflow for many requests.


Thanks for any suggestions.



2 Replies
Established Member.. Utkarsh_Mishra
Established Member..

Re: How to assign a new workflow to a running request

I will be challenging, as every request has it own workflow instance/copy. You may get some better approach from FORUM in case anyone has done the same.


An alternate approach would be to COPY to request to new request type and then cancel the existing request. i.e....


You can use KCRT_REQUEST_UTILS.COPY_REQUEST procedure in your DB script to copy the request data into new Request type and then SUBMIT the request automatically.


In addition to this you also need to modify your script to handle un-common tokens... i.e. you need to seperatly map it and run the update sql.

Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
New Member.. NK22
New Member..

Re: How to assign a new workflow to a running request

Hello Dirk,

I have a same requirement now that i need to change the workflow of a existing Project.

Can you tell me if you have already did this?





The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.