Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to reset the field values to NULL when the request is copied using the Copy Request feature

Highlighted
Rashraj
Regular Collector

Need to reset the field values to NULL when the request is copied using the Copy Request feature

Hi Friends,

Is it possible to reset some field values to NULL when the request is copied using the Copy Request feature.
Please advice.

Regards,
Rajesh
5 REPLIES
Jim Esler
Honored Contributor

Re: Need to reset the field values to NULL when the request is copied using the Copy Request feature

Currently, ksc_copy_request does not allow you to do this. We handle this kind of situation with ksc_store commands in an initial execution step in the child request's workflow.
Rashraj
Regular Collector

Re: Need to reset the field values to NULL when the request is copied using the Copy Request feature

Hi Jim,

Thanks for your note!!
But how do we reset an exisitng value of a field toekn using ksc_store, can you please help me on the process?

Thanks,
Rajesh
Jim Esler
Honored Contributor

Re: Need to reset the field values to NULL when the request is copied using the Copy Request feature

The following command clears the field with the named token:

ksc_store REQD.P.P_FILENAME=""

You will need to have an auto-execute command step in the workflow to execute the command.
Rashraj
Regular Collector

Re: Need to reset the field values to NULL when the request is copied using the Copy Request feature

hy Thanks dude it worked.

Closing the thread
Rashraj
Regular Collector

Re: Need to reset the field values to NULL when the request is copied using the Copy Request feature

thanks
//Add this to "OnDomLoad" event