Project and Portfolio Management Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

can you use ksc_store to update workflow parameter?

Highlighted
Regular Advisor

can you use ksc_store to update workflow parameter?

I'm trying to add 2 workflow parameter tokens to a workflow.  I have a step on the workflow that I would like to save a SQL output to each of the 2 tokens.  Is this possible or can you only update workflow parameter tokens by using the wf step parameter field ?  

 

in the wf step command, I am trying to run something like

ksc_itg_run_sql QUERY="select count(t.visible_parameter3) from  KCRT_REQ_HEADER_DETAILS... etc

ksc_set WFI.P.NTA_COUNT="[SQL_OUTPUT]","[SQL_OUTPUT]"

 

the above throws an error in the exec log that the token is invalid.  

I can use a temp token, but I was trying to leverage a global token ( maybe I have to add the token to the request ? )

 

1 REPLY
Trusted Contributor

Re: can you use ksc_store to update workflow parameter?

can you try to change validation of step to text field and put wf parameter on that step, this may helps.