Plug-In Lifecycle
This topic provides the lifecycle diagram of a plug-in.
The plug-in lifecycle diagram is divided into four parts:
- Plug-in is initialized: This diagram shows the initialization of the plug-in:
- Plug-in is opened by a user: This diagram shows the flow when a user opens the plug-in:
- Plug-in switches online with retries: This diagram shows the flow of background synchronization performed by the plug-in, when Oracle Field Service detects that the plug-in is online:
- Plug-in doesn’t respond: This diagram shows the flow when the plug-in doesn’t send the sleep message within two minutes:
- Plug-in is opened by the user: This diagram shows the flow when the plug-in is opened by the user when the background synchronization is still in progress:
This flowchart shows the background synchronization of the plug-in for the online
event:
![This flowchart shows the background synchronization of the plug-in for the online event.](images/background_sync_online.png)
![This flowchart shows the background synchronization of the plug-in for the online event.](images/background_sync_online.png)
This flowchart shows the background synchronization of the plug-in for the timer
event:
![This flowchart shows the background synchronization of the plug-in for the timer event.](images/background_sync_timer.png)
![This flowchart shows the background synchronization of the plug-in for the timer event.](images/background_sync_timer.png)