Hey! I'm trying to run a custom action that counts the number of documents in a collection and groups them by weeks (based on the createdDate). This part of the code seems to be working, but what I can't figure out is how to update the two Page State Variables I've set up. (I plan to use them to feed a chart, since it looks like FF doesn't work sourcing the data fields straightfull).
From what I've researched, it would be something to do with FFAppState, but I must be doing something wrong because it's not working.
Does anyone know what I need to adjust to successfully update the App/Page State?