I have a simple approval email with the options APPROVED,DENIED.
I have a condition: if the response is APPROVED, update the Approval Field to APPROVED.
If Denied, update the Approval field to DENIED.
For some reason, I am getting the opposite.
If I hit APPROVED in the email, DENIED is in the field and vice versa.
I have seen this before in conditions but they seemed to resolve themselves in time.
I have resorted to reversing the logic (see below - If the email selects APPROVED, the flow says to populate DENIED).
It actually populates it with APPROVED. So reverse logic seems to function but there must be something I'm missing here.
Anyone else know of this? Or am I doing something wrong?
Your screenshot is too small to be readable, but what are you checking for the response? Responses is a collection (array) of responses that will create an Apply to Each loop to read the response from each approver. Outcome is the overall response and contains a delimited list of the responses from each approver as a string. But in both cases you need to check for the string Approve or Reject, not Approved or Denied. If you are comparing against the wrong string that will definitely give you the wrong logic. But I need a clearer screenshot to really explain what is going on in your situation.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Many congratulations to the Season 1 2021 Flownaut Crew!
Check out our new profile badges recognizing authored solutions!
Check out the community blog page where you can find valuable learning material from community and product team members!