Program Run is failing
When we are trying to run flow, it's getting stuck at process flow and not moving further.
While tracing the same we found that it's moving to some "UnhandledInboundSMS " workbasket.
Steps to Reproduce
- Launch Marketing poratal
- Run the program
A defect in Pegasystems’ code or rules:
Upon debugging we found that at Step 5 of activity AssociateCustomer, CustomerID is coming as blank.
When printed out step page (ResultsPage.pxResults(1)) in the logs. Below was the response.
Where as SelectColumn value is CustomerID (please note its not in caps). When Java step (below is code in java step) is executed CustomerID value on parameter page is set to blank.
SelectColumn is returning CustomerID instead of CAPS CUSTOMERID.
Perform the following local-change:
Modify Step 3 (Property-Set) of the activity AssociateCustomer. Change the property (SQLParamPage.pxResults(<APPEND>).PropertyName) to the below.
"SELECT " + Param.SelectColumn + " AS \"" + @String.trim(Param.SelectColumn) + "\" FROM "
Here we have added 'AS' clause which was missing.
0% found this useful