Project and Portfolio Management Practitioners Forum
cancel

Updating the Token in Execution

Highlighted
Hameed Hussain
Trusted Contributor.

Updating the Token in Execution

Hello Guys and Gals,

A quick help required,

I have following question.

During an Execution Step
I need to check a condition which is stored in a token (either 1 or either 0)

if 1, then I need to store
PRJ_ASSIGNED_TO = PRJ_PROJ_SPONSOR
else
PRJ_ASSIGNED_TO = PRJ_PROGRAM_MGR

above one token value to be saved to another token.

can anybody help me out on it please

thanks

Hameed


1 REPLY
Alexander (Sua)
Super Contributor.

Re: Updating the Token in Execution

you need to use ksc_store command
You execution step command will be something like this

if [ = 1]; then
ksc_store PRJ.ASSIGNED_TO_token = [PRJ.PROJ_SPONSOR_token]
else
ksc_store PRJ.ASSIGNED_TO_token = [PRJ.PROGRAM_MGR_token]
fi

I can't guaranty that the code will be exactly like above but I believe you get the idea