I have a step in my Page is loaded event and the server log tells me this event fails. Any ideas why? The condition should simply cause it to not run the step, correct?
The condition returning a false isn’t the same thing as failing, so I’m confused.
Isn’t the current user loaded into memory before the page is loaded? This boolean field on the User should be available to the condition, right? Why would the field be empty? This server message is for a user who has already completed onboarding and the value is “yes”.
Hi @ken1 ,
Once new things was created then, intiall values to the fields will be blank/empty until you inputting the values to the fields.
Thats why i said boolean field will be empty and convert into text to check the case.
Yes, Initialy current user details will not loaded into member before page load. but you can add necessary workflow like “Page loaded”, “When condition” will help you to handle this.
Action condition failed means that the condition wasn’t met, not that there was a failure to meet the condition. So, your condition failed to be met because the user’s onboarding was complete.
Oh, thank you. I thought it was saying the condition failed to evaluate. I didn’t think every time a condition evaluated to No that it was considered failed.
So there is nothing to be concerned about. Thank you.
Your example is not the same as my situation though. You used a state on the page that must be set. I used a field on the User that already has a value.
I confused the condition failing (not returning a result) with simply evaluating to “no” (a successful condition, but negative, evaluation based on how I thought it worked.)
Hi @georgecollier ,
May i know, if i apply below condition to the step2 like “Result of step 1 (create a new some…) example is no” can update the empty = yes?
Step 2 sets the value to yes when the dropdown is yes.
Step 3 sets the value to no when the dropdown is no.
This creates a thing with an empty/yes/no value. That’s all it does. I promise you that you are wrong about this. When a yes/no is empty, the expression ‘yes/no is no’ will evaluate to yes, and ‘yes/no is yes’ will evaluate to ‘no’.
It is a boolean. It can evaluate to two states - yes and no. Not three. There’s a reason you can’t use ‘yes/no is empty’.
My workflow is working. I was only concerned when I saw the server log that the condition failed that there was an issue. But apparently that is simply reporting that the step will not be executed because the condition evaluated to “no”.