This transaction completes any API request or service request in offline mode. It picks up the API messages or service messages from the YFS_ASYNC_REQ table and invokes the corresponding API or service. The messages can be inserted into the YFS_ASYNC_REQ table using the createAsyncRequest API.
Following are the attributes for this time-triggered transaction:
Attribute | Value |
---|---|
Base Transaction ID | ASYNC_REQ_PROCESSOR |
Base Process Type | General |
Abstract Transaction | No |
Following are the criteria parameters for this transaction:
Parameter | Description |
---|---|
Action | Required. Triggers the transaction. If left blank, it defaults to Get, the only valid value. |
Number of Records To Buffer | Optional. Number of records to retrieve and process at one time. If left blank or specified as 0 (zero), it defaults to 5000. |
Lead Days | Number of days before the present date the agent will purge the records. If left blank or specified as 0 (zero), it defaults to 30. |
Maximum Error Count | Maximum number of times the record is processed if an exception is thrown. Once the number of unsuccessful attempts equals this number, that record is not processed further by the agent. If left blank or specified as 0 (zero), it defaults to 20. |
Reprocess Interval In Minutes | Time in minutes after which the transaction will be reprocessed - after it has been processed and has thrown an exception. |
ColonyID | Required in a multischema deployment where the YFS_ASYNC_REQ table may exist in multiple schemas. Runs the agent for the colony. |
None
None
The following events are raised by this time-triggered transaction:
Transaction/Event | Key Data | Data Published* | Template Support? |
---|---|---|---|
HAS_EXCEPTIONS | None | YCP_ASYNC_REQ_ |
Yes |
*These files are located
in the following directory: <INSTALL_DIR>/xapidocs/api_javadocs/XSD/HTML |