AP Invoice rules: Invoice Header.Requester ID.toString() throws error when value is null
Summary:
AP Invoice rules: Invoice Header.Requester ID.toString() throws error when value is null
Content (please ensure you mask any confidential information):
We would like to do a check agains the Invoice Header.Requester ID value in the BPM rules for FinApInvoiceApproval. It needs to be in two specific values.
We got this to work, but now when the requester is null (which is valid for other approval rules) the workflow will error.
Rule was setup like this: NOT(Invoice Header.Requester ID.toString() in "300000001528269","300000001546432")
Detailed error message from BPM:
2024-01-17T11:12:12.849Zfalseenv.Client0CallFunctionStateless1default/FinApInvTransactionsInvoiceApprovalComposite!3024638_35785439/FinApInvoiceApproval2FinApInvoiceApprovalRules3