BBC.SHARED.JOBI.INCIDENT-DETAILS
Summary
- Object type
- JOBI
- Object Folder
- PACKAGES/BEST-BLU/BBC.SHARED/SOURCE
- Title
- Gathers and publishes incident details
- Archive Key 1
- -
- Archive Key 2
- -
- Created
- WRITER/B4A am: 2022-06-30 13:11:42
- Last Modified
- WRITER/B4A am: 2024-01-09 09:57:40 9 x
- Last Used
- -
Description
Gathers and publishes information that can be used by BBC.INCIDENTS for incident handling
Parameter
Input
Output
- &BBCI_DETAILS_RUNID_O#
- runId of the object calling using this include object
- &BBCI_DETAILS_MESSAGE_O#
- details about the error that just occured
Example
:include B4A.BASE.JOBI.INCIDENT_DETAILS
Process
:set &status# = get_uc_object_status( , &$RESTART_RUNID#, STATUS )
:if &status# <> 1900
: set &BBCI_DETAILS_RUNID_O# = &$RESTART_RUNID#
: publish &BBCI_DETAILS_RUNID_O#, , WORKFLOW
: set &BBCI_DETAILS_MESSAGE_O# = "&BBCI_DETAILS_MESSAGE_O#"
: publish &BBCI_DETAILS_MESSAGE_O#, , WORKFLOW
:endif