Check condition in flow

PrashantK270430
Tera Expert

If there is a Variable Name "User" references to user table.

 

condition i need to check is

 

User is (some different table in servicenow)

 

How we can achieve this?

2 ACCEPTED SOLUTIONS

@PrashantK270430 

let lookup record return only 1st matching

You just want to know if record is present or not

OR

you can use Lookup Records and check the status

Why you are not able to match specific field condition? please share screenshot

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

HI @Ankur Bawiskar 

 

I have used other thing from Look Up Records table count parameter in condition from Look Up Records Actions and it works like a charm.

 

Thanks for your time.

View solution in original post

9 REPLIES 9

Hi @Ankur Bawiskar 

 

First, Thanks for your reply.

I have followed similar approach like yours

But in lookup record it return first record only and it fails on negative condition,

But in Look Up Records, i cannot match specific field as condition.

@PrashantK270430 

let lookup record return only 1st matching

You just want to know if record is present or not

OR

you can use Lookup Records and check the status

Why you are not able to match specific field condition? please share screenshot

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

HI @Ankur Bawiskar 

 

I have used other thing from Look Up Records table count parameter in condition from Look Up Records Actions and it works like a charm.

 

Thanks for your time.

Mark Manders
Mega Patron

Please explain what you are trying to do, because your question doesn't make sense.

If the variable is a reference to the user table, the user needs to be a record on the user table. You can't check if a record from a certain table, is a different table. So either you are asking for something that doesn't make sense, or your question isn't clear.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi @Mark Manders 

 

This means there is no solution for this like you are trying to portray