This is probably an easy one here. I've been staring at it for too long.
I have a form that kicks off a Workflow. The Workflow terminates because it cant find a document in a Search activity.
This is the syntax from Workflow:
{[Accounts Payable Documents]:[Accounting Document Type]="Credit Card Receipt", [Requisition ID]="%(BP Instance ID)"} & {LF:Name="*", Type="D"} & {LF:LOOKIN="DEV\Accounting\Credit Cards\Review Receipts\Errant Items"}
When I click the Test Search Query tool in Workflow, no results are found:
In the Client I run exactly the same code, but plug in the token value:
{[Accounts Payable Documents]:[Accounting Document Type]="Credit Card Receipt", [Requisition ID]="257"} & {LF:Name="*", Type="D"} & {LF:LOOKIN="DEV\Accounting\Credit Cards\Review Receipts\Errant Items"}
The Client yields a result.