Re: can you use ksc_store to update workflow parameter? (148 Views)
Reply
Regular Advisor
bzdafro
Posts: 149
Registered: ‎07-30-2009
Message 1 of 2 (196 Views)

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 ? )

 

Please use plain text.
Trusted Contributor
Kerim KILIC
Posts: 162
Registered: ‎04-01-2011
Message 2 of 2 (148 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation