Use Cases for the Flow Extension API
When to use the Flow Extension API.
Business Uses
-
A purchase order-based financing application would involve three distinct flow extensions: one would stop the flow of a purchase order for financial review, then attach financing approval notification. When the transaction is approved and in process, a second flow extension would forward a copy of the goods receipt to the financing company for auditing purposes. Finally, a third flow extension would redirect the invoice to the financing company for enrichment on its way to the buyer.
-
An accounting firm might use a flow extension to attach taxation advice to a financial document.
-
Shipping notices are of interest not only to buyers, but also to logistics providers. When a supplier sends a shipping notice to a buyer, a flow extension can be used to ensure that the shipping agent recieves a copy.
Use Cases
The Flow extension API supports the following usages:|
Use Case |
Description |
|---|---|
|
simple flow extension |
In this simplest case, you temporarily suspend the document flow, optionally gather and analyze data from the document, optionally post an attachment and a comment to the document, and then instruct the flow to resume. A real-world example of this use case would be to detect when a buyer sends a PO to a supplier, and attach a URL to a bar code site that allows the supplier to print shipping labels. |
|
halt flow extension |
This use case is similar to the simple flow extension, except that you have the option to halt the approval flow rather than instructing it to resume. You might choose this case, for example, if you want to approve invoices up to a certain amount, and cancel any that exceed that amount. |
|
non-suspend flow extension |
This use case grants access to the document data but does not suspend the document flow. Because the flow is not suspended, this use case does not permit appending attachments to the document. You might use a non-suspend flow extension, for example, for third-party archiving. |