Been banging my head against the wall here on this one, need me some Spock assistance
I’ve got an action, that’s part of a Group of actions that should fire off on the table event action, but for some reason the action I’m having problems with is not following the condition and instead being skipped.
App: TheNASAStudyApp-629466
Action: Alert | No Respondent Selected - part of “Stack | Measure (tapped)”
emulate as “multiechvisions@gmail.com”
When you tap an option you should get a warning about not having something selected (the respondent, from the second action in the stack), but instead I’m getting an alert about consent (the third action in the stack).
Would appreciate if someone could take a look and see if it’s just some condition I’ve got mixed up, or if there’s some bug with Grouped actions?
Thanks!
Solved! Go to Solution.
@Steve you were right that it was something to do with a technical thing.
isblank(any(Current_User[Current_Respondent]))
that worked. Wrapping the ANY() around the current user slice seems to have done the trick.
I remember Praveen explaining this problem once, something like:
“Because there’s a record for the Current_User[Whatever] slice, technically it’s not blank - even though there are no values in the field - the presence of the record is good enough for the non-specific ISNOTBLANK().”
User | Count |
---|---|
19 | |
10 | |
7 | |
5 | |
5 |