LOOKUP Value Expression

Is it possible to lookup a value in one table in another and if it matches then change a value?

E.g. I ahve tow tables both have unique line references. One of them is called โ€œMaterial Take Offsโ€, users apply the add rows to another table action here and once added the items change to โ€œRequestedโ€.

However, we have found that the status changes even if the request doesnt go through and its causing issues. So is it possible to write an expression which looks up each rows line reference to see if it exists in the other table?

If it is then it is โ€œRequestedโ€ if not it is โ€œTo be Requestedโ€?

If so what kind of expression would I be looking for, as I udnerstand LOOKUP expressions return a column value.

I have looked into some others such as CONTAINS, FIND, IN and so on but not sure what the right direction is.

1 3 248
3 REPLIES 3

Steve
Platinum 4
Platinum 4

Absolutely! Typically, youโ€™d use an actionโ€™s Only if this condition is true expression to verify the action should be performed. That expression can access any data in your app, so you could use LOOKUP() to see what an existing value is.

Event though the LOOKUP expression is not a TRUE/FALSE expression?

LOOKUP(...) = "blah, blah" is.

Top Labels in this Space