How to use lookup field as a condition check to perform an action in sharepoint designer workflow
-
08-02-2021 - |
سؤال
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.
المحلول
Follow Below Steps:
- 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).
- Add IF condition, In Left side, Select the workflow variable we created.
- In Right side of
equals
, Type SMS. - Inside IF condition, Use Send Email action.
Note: If your lookup column is set to allow multiple values then instead of equals
operator, you can use contains
operator.
لا تنتمي إلى sharepoint.stackexchange