You need to sign in to do that
Don't have an account?
Sanjana Rajasekar
Mass Update Account Forecasts Actions
I came across Mass Update Account Forecasts Actions (https://help.salesforce.com/s/articleView?id=sf.admin_manufacturing_standard_invocable_actions.htm&type=5) which updates multiple values of a single metric of an account forecast.
So I am trying to update the last year's order quantity metric for a product on particular period in account forecast by a flow.
Error Occurred: Unexpected data type for periods: expected String[]
Able to get the records using the query but I am not able to view the PeriodIds in the UI.
So I am trying to update the last year's order quantity metric for a product on particular period in account forecast by a flow.
Error Occurred: Unexpected data type for periods: expected String[]
Able to get the records using the query but I am not able to view the PeriodIds in the UI.
SELECT Id, AccForecastPeriodMetricId, AccountProductForecastId, Name, PeriodId, PastOrdersQuantity From AccountProductPeriodForecast WHERE AccountProductForecastId = '0yB3t000000gGEKEA2'
The error message you are seeing ("Unexpected data type for periods: expected String[]") suggests that the data type for the "periods" input variable in your flow is not set correctly. It is expecting a string array, but it is receiving a different data type.
Would request you to check your flow again and let me know further .
If possible please share screen shot of your flow.
Thank you.
Hi @Subrat, This is my inputs to the action "Mass Update Account Forecasts Actions"