Skip to content

Configure Pleasanter to notify LINE WORKS

Limitations

  1. Because of a constraint on the LINE WORKS side, you can add up to five Webhook URLs.

Settings on the LINE WORKS Side

From the LINE WORKS administrator screen, do the following.

  1. Add the Incoming Webhook app from the "App Directory" of LINE WORKS.
  2. Invite the "Incoming Webhook Bot" to the talk room to which the notifications are sent.
  3. Get the "Channel ID" of the talk room to which the notifications are sent. Select "Channel ID" from the menu of the talk room.
    The LINE WORKS talk room menu with the Channel ID item
  4. Click the "Copy channel ID" button.
    The screen showing the Copy channel ID button
  5. Select "Webhook list" from the menu shown at the bottom of the talk room.
    The menu at the bottom of the talk room with the Webhook list item
  6. Enter a Webhook name in "Add" on the Webhook list screen, paste the channel ID you copied in step 4 above into "Channel ID", and click the "Add" button.
    The Webhook list Add screen with a Webhook name and channel ID entered
  7. A Webhook URL is issued. Copy and note down the issued Webhook URL, because you use it in the settings on the Pleasanter side.
    The screen showing the issued Webhook URL

The settings on the LINE WORKS side are now complete.

Settings on the Pleasanter Side

1. Setting the notification

Set the parameter LineWorks of the configuration file Notification.json to true in advance. After you change the setting, you need to restart Pleasanter.

  1. Open the table for which you want to set the notification.
  2. Click "Administration" on the navigation menu.
  3. Click Manage Table.
  4. Click the Notification tab.
  5. Click the "Create New" button.
    The Notification tab of Manage Table with the Create New button
  6. Select "LINE WORKS" from "Notification Type".
  7. Paste the "Webhook URL" you copied above into "Address".
  8. Check the other columns you need and click the "Add" button.

2. Setting the process notification

Set the parameter LineWorks of the configuration file Notification.json to true in advance. After you change the setting, you need to restart Pleasanter.

  1. Open the table for which you want to set the notification.
  2. Click "Administration" on the navigation menu.
  3. Click Manage Table.
  4. Click the Process tab.
  5. Click the "Create New" button.
  6. Click the Notification tab.
  7. Click the "Create New" button.
    The Notification tab inside Process in Manage Table, with the Create New button
  8. Select "LINE WORKS" from "Notification Type".
  9. Paste the "Webhook URL" you copied above into "Address".
  10. Check the other columns you need and click the "Add" button.

3. Setting the reminder

Make the following settings in advance.

  1. Set the parameter Reminder of the configuration file BackgroundService.json to true.
  2. In the parameter AbsoluteUri of the configuration file Service.json, enter the leading part of the URL written in notifications and reminders.
  3. Set the parameter Enabled of the configuration file Reminder.json to true, and LineWorks to true.

After you restart Pleasanter, do the following.

  1. Open the table for which you want to set the notification.
  2. Click "Administration" on the navigation menu.
  3. Click Manage Table.
  4. Click the Reminder tab.
  5. Click the "Create New" button.
    The Reminder tab of Manage Table with the Create New button
  6. Select "LINE WORKS" from "Reminder Type".
  7. Paste the "Webhook URL" you copied above into "To".
  8. Check the other columns you need and click the "Add" button.

Supported Versions

Supported Version Description
1.5.1.0 Function added