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 :
Microsoft Dynamics CRM (Archived)

Lookup value in conditional step of Web Form

(0) ShareShare
ReportReport
Posted on by 115

Hi,

How to use lookup value as a condition in conditional step of the webform.

Example: Lets assume I have a lookup called 'Type'. it has 3 values customer , partner and employee. I have created a web form with 4 steps. After the first step, it should check the condition if the 'Type' lookup value is 'Customer' then the next step is 'Step 2' or else 'Step 3'.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Nandhini.

    I am assuming that you have a business process flow in your form and you want a kind of conditions to have a process flows with branching.

    You can follow this example : www.microsoft.com/.../enhance-business-process-flows-with-branching.aspx .

    Regards,

  • Community Member Profile Picture
    on at

    Hi Nandhini,

    While at the time of creating a new step for webform..

    1. Select Step "Type = Condition "

    2. Provide you Custom Condition under "Condition" tab in step as below format

    [entity attribute logical name] [operand] [value]

    Examples: new_categorycode = 750101 & gendercode = 2

    new_categorycode = 750101 & (gendercode = 2 | gendercode = 3)

    3. Select the Step " Next Step If Condition Fails" to which you wants to navigate if condition fails

    Thanks and Regards,

    Pavan

  • Nandhini Profile Picture
    115 on at

    Thanks Diogo. I have to add a lookup condition in conditional step of the webform in Dynamics 365 portal.

  • Nandhini Profile Picture
    115 on at

    Hi Pavan,

    In the same condition step, how to use lookup value as as condition instead of new_categorycode = 750101

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans