<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tl/onlinemanual/event_statuses" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Event Statuses</Title>
		<Keyword ContextSensitive="No"><Level1>Event Monitoring</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Event</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Event</Level1>
			<Level2>status</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">The following status values are used:</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Irrelevant</TD>
					<TD rowspan="1" colspan="1">The event is skipped because it does not match the subscription filter.</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">To be Published</TD>
					<TD rowspan="1" colspan="1">The event is stored in the queue and ready to be picked up by the publisher.</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">Published</TD>
					<TD rowspan="1" colspan="1">The event is published. Additionally, this status does not necessarily mean the event is successfully processed at the destination. Either the event is successfully processed at the destination, or a problem occurred outside ERP LN and the event is written to the OpenWorld log, or the event was successfully received at the destination and skipped.</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">Error</TD>
					<TD rowspan="1" colspan="1">An error occurred, and the publishing continues with the next event. For example, the data could not be retrieved for the event. Note that if the publisher stops or becomes interrupted because of an error, this status is not used, because in that case the publisher will try to send the event next time.</TD>
				</TR>
			</TBODY>
		</TABLE>
		<Paragraph class="Default">If the event history is not kept (refer to the online help of the <Link href="/baanerp/tl/bct/tlbct5505m000" role="session">Event Publishing Settings (tlbct5505m000)</Link> session), only events with the ‘To be Published’ state will exist.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Event State Transitions</SectionTitle>
		<Figure space-and-orientation="indented-estimated"><FigIntro>The following figure shows the transitions of the event status:</FigIntro>
			<HTML:IMG height="539" width="694" SRC="../images/tr_graph_event_statuses1.gif" path="/enterpriseserver/tools/tl/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="tr_graph_event_statuses1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tl/images/tr_graph_event_statuses1.gif" ID="IDAPNCAC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
		<List><ListIntro>The ‘To be Published’ state usually means the event was not yet processed by the publisher. However, two situations exist in which it was processed, but could not yet be successfully completed:</ListIntro>
			<ListItem>The ‘To be Published (Retrying)’ state means the publisher tried to publish the event, but it could not be delivered. The cause is probably temporary, so retrying will be done. However, note that this is the event state, not the publisher process state. The publisher might be stopped while retrying, so it does not have to be running at that moment.</ListItem>
			<ListItem>The ‘To be Published (Halted)’ state means that while processing the event, an error occurred that stopped the publisher process. When the publisher process is continued, the event will be picked up.</ListItem>
		</List>
		<Paragraph class="Default">In case of status Error, the error details are unavailable in the Events session. The error message is not linked to the event, but has been published. Depending on the Integration 6.2 configuration, the error message is sent to an error handler bus component or written to the OpenWorld log file.</Paragraph>
		<Paragraph class="Default">The Error state is not directly reached from the application. If an error on event publishing occurs in the application process, the process will not enqueue an event message with status Error, but will enqueue an error message with status ‘To be Published’ if no subscription exists for the business object. Additionally, if the problem occurred in the generated business object library, the business ID is lost; the business ID can only be stored if the error occurs in the standard event publishing logic, available in the Tools AddOn package.</Paragraph>
		<Paragraph class="Default">When unsubscribing, all events for the subscription are deleted. If events to be published are still waiting in the queue–because the publisher is not running or has a backlog–they will also be deleted. When unsubscribing from the user interface, you will be warned beforehand and asked to confirm the unsubscribe action. Note that this cannot be done when an UnsubscribeEvent request comes from outside ERP LN, because no user interaction is possible.</Paragraph>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/tl/onlinemanual/event_monitoring" role="manual">Event Monitoring</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tl/bct/tlbct5530m000" role="session">Events (tlbct5530m000)</Link>
		</RelTopic>
		<RelTopic></RelTopic>
	</RelatedTopics>
</ManualTopic>
