Question

I have a list named as "Class" and title column with fields (SMS, BP, HVL, TA).

The second list "DataCollection" has a column from Class using lookup.

Now, I want to check the condition in designer workflow "if current item: Class equals SMS" Action >> Send Email to XXX@domain.com End workflow

The system shows error when I I execute this workflow.

Somebody please help to find a solution.

Was it helpful?

Solution

Follow Below Steps:

  1. At the Starting of your workflow, use Set Workflow Variable action and create on new variable of type string. Set it's value as a lookup column value. (See attached image below).
  2. Add IF condition, In Left side, Select the workflow variable we created.
  3. In Right side of equals, Type SMS.
  4. Inside IF condition, Use Send Email action.

enter image description here

Note: If your lookup column is set to allow multiple values then instead of equals operator, you can use contains operator.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top