Hello EpiUsers!
I have a function that returns true or false, and I’ve verified the response is accurate.
But I’m stuck on how to use that response. I assume I have to store it in a dataview to refrence it in my condition. I’m following one of Hannah’s wonderful solutions, but I’m failing to make it work.
This is how I’ve setup my response parameter, the function returns a bool named oResult. And I’m trying to store it in a Dataview named ResponseData.
But I can’t seem to get this value stored. Does anyone have thoughts on what I’m doing wrong? Thank you!
The value from the function is being returned into a dataview called actionResult
That’s why the image on the left is showing actionResult.oResult = True or False.
If you look at the actionResult dataview in debugger, you should see your true/false value in there, and you can use that dataview to pass the value on to other actions downstream.
If you want the value set in a different DV called “ResponseData”… you could add a row-update after your function that sets ResponseData.oResult to the value of ‘{actionResult.oResult}’
… but I don’t know if that’s necessary. Again, not sure what you’re doing with the true/false value… but it should already be stored in the actionResult dataview if you can just use that.