Hello,
I'm setting up a timesheet workflow. In the workflow I'd like it to test for whether a project manager is specified or not (is the project manager field blank). I can't get the workflow to cooperate though.
The condition looks like this:
And the project looks like this:
Yet the workflow evaluates like this:
It's meant to evaluate as "True". Is there a way to make that happen?
Br Joachim
Hello both,
Thank you for your assistance.
Br Joachim
Then you need to provide 0 as the value. Seems it's a RecId field.
Thanks,
Girish S.
Hello,
It doesn't seem to be string, not sure if it's RecId. Using 0 instead of blank seems to fix the issue. Will have to test it a bit more, but the test I'm running now works as intended.
Br Joachim
Right click on that control and click on form name: FormName >> It will open the new dialog form >> In that form under Administration tab >> Under Form control type - See what the type is.
Refer to the below screenshot.
Thanks,
Girish S.
If there is value in Project manager field, is the condition returns True or False. Also, instead of blank try adding zero in the value (If its RecId, then blank will not work).
Hello Mohit,
I actually saw the replies in that link as well, which led me to where I am now. That link is also part of why I don't understand the issue.
How do I check for whether it returns a RecId or String?
@Girish, I'm pretty sure that the way the condition is now should be: If project manager field is blank = True
Br Joachim
Hi, Your condition to check if value is empty looks fine. Is the Project Manager field returning String value or RecId.
community.dynamics.com/.../wf-with-conditional-decision-check-for-blank-field
Hi,
As per the condition you have added condition as if the project manager is empty then the condition will be evaluated to false.
If the project manager field is not empty, then the condition will be true.
Try assigning the project manager field to value and then submit the workflow.
Thanks,
Girish S.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156