Absent Member.. AlfredoMonasi Absent Member..
Absent Member..
330 views

Running querys on PPM Commands

Hi Everyone,

 

There is a way I can get more than one column at a time to update  request using PPM Commands, I know the other way aorund could be calling a SP to update what I want and run the cahce manager but I would lke to know if there is a chance.

 

In my case is a workflow that calculates and build the html for massive mailing, the request goes record by record and update the fields of that row in the request and the send the notification. It loop and update the request until it finished, but sometimes when recovering and saving the fields seems that dont update correctly and use older values in the request to send the mail to the wrong people.

 

ksc_itg_run_sql QUERY_STRING="select emr.BODY2, row_number() over(order by EMR.RESPONSABLE) orden from DSI_ENVIO_MASIVO_X_RESPONSABLE emr where EMR.TO_EMAIL=100408"
ksc_store BODY2="[SQL_OUTPUT]","[SQL_OUTPUT]"

 

Regards,

 

Alfredo

 

0 Likes
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.