Return to Video

Specifying Your Criteria - Intro to Point & Click App Development

  • 0:00 - 0:03
    So, with the way formulas work, and
  • 0:03 - 0:05
    how they can grab fields off related objects.
  • 0:05 - 0:06
    >> Uh-huh.
  • 0:06 - 0:08
    >> Unfortunately, you can't grab the user's email.
  • 0:08 - 0:09
    >> Okay.
  • 0:09 - 0:12
    >> But, that's only from this pick list. Instead of using
  • 0:12 - 0:15
    the, run this rule for criteria met, change that pick list to,
  • 0:15 - 0:19
    if the formula evaluates to true. And this'll be another place
  • 0:19 - 0:21
    that we can create a formula, in order to add some logic.
  • 0:21 - 0:22
    >> I've seen this before.
  • 0:22 - 0:22
    >> Yeah.
  • 0:22 - 0:25
    >> Cool. So if the following formula evaluates to true,
  • 0:26 - 0:27
    should I go to user?
  • 0:27 - 0:29
    >> So we want to still go in maitenence ticket.
  • 0:29 - 0:30
    >> Okay.
  • 0:30 - 0:34
    >> But we can treverse through that technician field.
  • 0:34 - 0:34
    >> Oh cool.
  • 0:34 - 0:37
    >> In order to grab fields off of the technician.
  • 0:37 - 0:41
    >> Technician, nice. Okay. So this is the
  • 0:41 - 0:43
    field that represents the email address of the technician.
  • 0:43 - 0:43
    >> Exactly.
  • 0:43 - 0:47
    >> And how do I check to see if it exists or not?
  • 0:47 - 0:51
    >> So, we can first add an if statement like we had before.
  • 0:51 - 0:51
    >> Okay.
  • 0:51 - 0:54
    >> So paste that technician email.
  • 0:54 - 0:57
    >> I'm going to do sum logical test with technician email.
  • 0:57 - 1:00
    >> This is another one of those. There's a
  • 1:00 - 1:03
    fancy little method out there for checking if it's null.
  • 1:03 - 1:03
    >> Okay.
  • 1:03 - 1:07
    >> So, you can actually see it right there on the right, is null.
  • 1:07 - 1:07
    >> Is null.
  • 1:07 - 1:11
    >> But I want technician email in this place where it says expression.
  • 1:11 - 1:11
    >> Exactly.
  • 1:11 - 1:17
    >> So I'm going to cut and paste. Value if true, value if false.
  • 1:17 - 1:19
    >> So, we can just those parameters manually. We can
  • 1:19 - 1:21
    put, if the value is true, set it to true,
  • 1:21 - 1:23
    if it's false, set it to false. And so, if
  • 1:23 - 1:29
    this if statement evaluates to true, then the workflow will run.
  • 1:29 - 1:31
    >> and then the formula, okay, the formula value is true.
タイトル:
Specifying Your Criteria - Intro to Point & Click App Development
Video Language:
English
Team:
Udacity
プロジェクト:
ud162 - Intro to Salesforce Development
Duration:
01:33

English subtitles

改訂 Compare revisions