web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Customized workflow Conditional decision not Working !!!!!

(0) ShareShare
ReportReport
Posted on by 25

Hello all,

I have created one custom workflow few days ago. Now, we have a requirement to add one condition in it. But the condition isn't working at all. 

The condition always returns true. Is there anything we have to modify using code or we are missing something in the workflow?

pastedimage1652086785175v1.jpeg

Here, as shown in the image, I have added one condition to the workflow, that If the department is 1464 then GRN workflow 4, else GRN workflow 3.

But whatever department I have in my table, it always returns true in the condition, and runs GRN workflow 4.

I also have ledgerDimension recId in my table, which has department value. But this also doesn't work, Even if the value is blank, it returns true.

pastedimage1652086785181v2.jpeg

I debugged the submit manager class, in which I am getting my table with all the values in it.

And I have activated the new version. It also shows in the workflow history.

What am I doing wrong here? Is anything missing from frontend or from coding side?

Thanks in advance,

I have the same question (0)
  • Suggested answer
    WillWU Profile Picture
    22,361 on at

    Hi partner,

    Could you provide a more clear screenshot?

    This seems like a very simple conditional decisions. Did you try another decisions  and check if it works?

    Are you sure  the number you entered is correct?

  • Suggested answer
    Mallesh Deshapaga Profile Picture
    231 on at

    Hi Bhavin,

    Can you help me with the workflow name- in which module you have customized ?

    Example: Some of the header level workflows doesn't support for the True or false decisions, it always takes true decision. So you can use the parallel activity workflow and check.

    Please read this blog- It may give you some inputs.

    www.linkedin.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 120 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans