Hi All
I have an integration that needs to skip the document if a source fields contains a certain value. It works, but always writes an error instead of successful exit status when I use CancelDocument
The Syntax is supposed to be:
CancelDocument [message, source, status_code, field_name, field_value]
I tried
CancelDocument "PO already exists" & SourceFields("PORef"), , 0
I also tried filling in all 5 parameters, but it still writes an error instead of just a message.
Am I doing something wrong, or will cancel document ALWAYS generate an error?
TIA
Mark
*This post is locked for comments
if you wanted IM to skip certain document if source fields is a certain value, try use filter function from the source definition. IM will not read this record anymore.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156