Skip to main content

FieldLogs

Creating an Event Subscription

Note

To view the Enterprise menu, the user must be associated with a Security Role that has the appropriate access rights.

Event Subscriptions allow the system to trigger specific actions such as sending an email or an in-app notification whenever a particular event occurs within FieldLogs.

Event Subscriptions can be created by:

  • Configuring Notifications in different feature modules for events of interest.

  • Using the Create button on the Event Subscription page.

  • Adding an Event Subscription XML.

Creating an Event Subscription

You can create a new subscription directly in the UI without using XML.

  1. On the main menu, go to Enterprise > Event Subscriptions > Event Subscriptions.

    eventSubscriptionNavigation.png

    The Event Subscriptions page appears.

    EventSubscriptionsPage.png
  2. Click Create.

    ClickCreate.png

    A New Event Subscription dialog opens.

    New_Event_Subscription_.png
  3. Select the Event Type from the dropdown list.

    EventTypeSelected.png
  4. Select the Status.

    SelectStatus.png
  5. Define the From and To dates.

    FromToDate.png

    Note

    The From date must be earlier than the To date.

  6. Click Create.

    ClickCreate.png

    The subscription is created, and the editor opens immediately on the right.

    EventCreated.png
  7. Edit the Event Subscription to add the required actions.

    ActionsConfigured.png
  8. Click Save.

    ClickSave.png

To create an Event Subscription by adding an Event Subscription XML:

  1. On the main menu, go to Enterprise > Event Subscriptions > Event Subscriptions.

    main_menu.png
  2. Click Add Xml.

    add_xml.png
  3. Build the xml link as shown below.

    The variables are displayed in italics below. Check the Enterprise Settings for the values pertaining to your Enterprise.

    Set Status =1 for Active Event Subscription.

    Set Status=2 for Inactive Event Subscription.

    <eventsubscription enterpriseld="<enterpriseld>" entityPath="<enterpriseld>" buyerld="<user Id>" eventType="<eventType>" status="1" editableInUi="true"> <eventActionList> <eventAction type="1" outputFormat="2"> <comment><!|CDATAIA Step has been NAed on a Task]l></comment> <subject><![CDATA [Step Marked as NonApplicable]l></subject> <recipient><![CDATA[john&#046;doe&#064;org#046;com]|> </recipient></eventAction></eventActionList> <comment > <!|CDATA[Flag Changed]|> </comment></eventsubscription>

    Warning

    Ensure there are no line breaks in the xml link. They may result in errors.

  4. Paste the Xml link into the Event Subscription Xml text box.

    event_subscription_xml_.png
  5. Click Send.

    Send_button.png

    A success message is displayed.

    success_message.png

    An Event Subscription is created.

    When the Task is started, an email notification will be sent to the specified email.

    event_subscription_created.png

The Event Subscriptions page provides a centralized view to search, filter, and manage all the Subscriptions.

EventSubscriptionPage.png

You can perform the following actions on the page:

  1. Customize the table view.

    • Resizing Columns: Drag the border of a column header to adjust the width.

    • Selecting Columns: Use the column selector dropdown to hide or show specific columns.

      CustomizeTable.png
    • Sorting: Click a column header to sort the list. By default, the list is sorted by the From date, newest first.

  2. Search and Filter the Event Subscriptions

    • Search: Type keywords into the search box at the top of the page and press Enter. The system searches for matches in the event type name and description.

      Search.png
    • Filter: Click the filter FilterIcon.png icon on any column header. Select the filter criteria and click Apply.

      ApplyingFilter.png

      The filter icon highlights to indicate an active filter.

      FilteredStatus.png

      To clear a filter, open the filter menu and click Clear.

      ClearFilter.png

      To clear all the filters applied to the columns, click Clear All Filters.

      ClearAllFilters.png
  3. Change the number of rows per page with the page controls.

    PageItemSelector.png
  4. Click the refresh button to reload the rows.

Exporting audit events allows you to extract detailed logs of Events into a CSV file.

To export an Audit Event:

  1. On the main menu, go to Enterprise > Event Subscriptions > Event Subscriptions.

    main_menu.png
  2. Click Export Audit Events.

    Export_audit_event.png
  3. Click the Event Type dropdown to display the list of options and select the required Event Type.

    dropdown_list.png
  4. Select From and To Time Bounds as shown below.

    from.png
    to.png
  5. Click +Advanced.

    advanced.png
  6. [Optional]Enter the Data Id.

    data_id.png

    It is an Event Subscription Id created at the time of adding an Xml instruction.

    Event_Subscription_id.png
  7. Click Export.

    export.png

    A ZIP file containing a CSV file listing all events in the Event Subscription is downloaded