I realized that I can use ExecuteSOQL to run a SOQL query within a flow. It works perfect. But when I use a SUM() and Group By sentence, the flow display Invalid interview state after the screen 01, so I'm not able to see screen 02
*This only applies when Group By is in the query, otherwise, it works fine.
Any Ideas how to fix this?
Action Get Records looks like this:
**Edit, var_query contains something like this:
"SELECT Date__c, SUM(Hours__c) FROM Revenue_Forecast__c Where Opportunity__r.IsClosed = true and (Opportunity__c='xxxx' or Project__c='yyyyy') group by Date__c"