I need help on a process flow query. When I run a query against the REQHEADER table, I pull the field ACTIVITY. I do a substring function - if the ACTIVITY number starts with 01, 02, 03 do this, if not, do another.
This logic works, however, not all Requisitions will have an ACTIVITY number. So I'm trying to instruct the flow if no ACTIVITY exists, just keep on going.
So far, I've tried ACTIVITY == "", != "", == "undefined", != "undefined, > "", = "", > null, = null.
I keep getting the same error in the process flow log - ACTIVITY "is not defined"
Any suggestions on how to set up this query?
Thanks everyone!
You don't have to add it to the workunit variables although that would work, you just need to create a variable in the Start node and save the result of the DME query to it before executing any User Actions then reference that variable after the inbasket action. You may want to requery instead if the activity can be changed in the inbasket.