Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:notify:action [20/11/2018 12:00]
tagr WH-509
user:notify:action [19/06/2019 15:29] (current)
alse [Execute a command]
Line 19: Line 19:
 Key in one or more telephone numbers in the international format, for example, +375293293294. When all slots to enter phones are filled, additional slots appear automatically. Key in one or more telephone numbers in the international format, for example, +375293293294. When all slots to enter phones are filled, additional slots appear automatically.
  
-:!: Note that if the flag 'Can send SMS' ​is not chosen ​in [[:​cms/​users/​props#​general|user properties]],​ then the corresponding notification delivery method becomes unavailable.+:!: Note that if the checkbox //Can send SMS// is not activated ​in [[:​cms/​users/​props#​general|user properties]],​ then the corresponding notification delivery method becomes unavailable. 
 + 
 +===== Send notification to Telegram ===== 
 +This method allows sending alerts about triggered notifications to the [[https://​en.wikipedia.org/​wiki/​Telegram_(software)|Telegram]] messenger.  
 + 
 +{{ :​notify:​notify_telegram.png?​nolink }} 
 + 
 +To configure sending of notifications to Telegram, perform the steps described below. 
 + 
 +1. Create a bot. 
 +   * Tap the //Search// icon. 
 +   * Find the bot named //​BotFather//​. 
 +   * Tap //Start// and follow the instructions. 
 +   * The received token must be specified in the //Bot key// field. 
 +{{ :​notify:​bot_name.png?​nolink }} 
 + 
 +2. Tap //Start// to subscribe to the created bot. 
 + 
 +3. Find out the user ID. 
 +   * Find the bot named //​userinfobot//​. 
 +   * Tap //​Start//​. 
 +   * If you have found the correct bot, you should receive a message with the user ID. In order to find out the ID of another user, forward any of their messages to the bot. Indicate the received ID in the //Channel ID// field. ​  
 + 
 ===== Display online notification in a popup window ===== ===== Display online notification in a popup window =====
  
Line 42: Line 64:
 ===== Send mobile notification ===== ===== Send mobile notification =====
  
-In this case upon notification triggering a mobile notification is sent to a user/users of an application. Choose the necessary application in the upper field. Then the system checks the possession of the necessary rights towards users: 'View detailed item properties',​ 'Act as given user'. Current user as well as the creator of a resource to which a notification belongs are checked for the possession of these rights. Afterwards on the basis of this check a list of users is formed in the field below. Here you can indicate a user/​multiple users (choosing the corresponding flags) or all the users (holding <​ctrl>​ and checking any user's flag) to whom a notification will be sent. To facilitate the search, you can use the dynamic filter.+In this case upon notification triggering a mobile notification is sent to a user/users of an application. Choose the necessary application in the upper field. Then the system checks the possession of the necessary rights towards users: 'View detailed item properties',​ 'Act as given user'. Current useras well as the creator of a resource to which a notification belongsare checked for the possession of these rights. Afterwards on the basis of this check a list of users is formed in the field below. Here you can indicate a user/​multiple users (choosing the corresponding flags) or all the users (holding <​ctrl>​ and checking any user's flag) to whom a notification will be sent. To facilitate the search, you can use the dynamic filter.
  
 Note that mobile notifications service availability depends on the chosen [[cms/​accounts/​services#​list_of_services|service package]]. Note that mobile notifications service availability depends on the chosen [[cms/​accounts/​services#​list_of_services|service package]].
Line 65: Line 87:
 ===== Execute a command ===== ===== Execute a command =====
  
-For this action, ​choose ​a command to be executed over unit(s). The list consists ​of all commands configured in the properties of selected units. So, different ​commands ​on the list may be supported by different ​units. ​Support status is seen with special indicators:​ +When you select ​this action, a command ​is sent to the unit (unitswhen a notification is triggeredSelect a command from the list of the available ones. The list contains ​all commands configured in the [[cms/​units/​aliases|properties]] of selected units if a user has the //​[[cms/​rights/​unit|Execute ​commands]]// access rights towards ​the units. ​Next to the header of the command can be special indicators ​that stand for the following
-  * {{:​icons:​support.png?​nolink}} ​command is supported by all selected units; +  * {{:​icons:​support.png?​nolink}} all selected units support this command
-  * {{:​icons:​support0.png?​nolink}} not all of selected units support ​given command (see details in the tooltip).\\  +  * {{:​icons:​support0.png?​nolink}} not all of the selected units support ​this command (see details in the tooltip).\\  
-For some commandsyou should ​set additional ​parameters ​like input/output numberonline report intervaletc.\\ [[user/​monitor/​cmd|More about executing commands...]]+If necessary, set the parameters
 + 
 +If you send commands that require the input of text or a message (e.g. //Send custom message// or // Send message to driver//)you can use tags (the same as for the [[user/​notify/​text|notification text]]). When the command is executedthe entered tags are converted to the values that correspond to them. 
 + 
 +:!: Tags are converted to values only if a command is selected as a notification action (not if a command is sent manually from the monitoring panel). 
 + 
 +Read more about the commands ​[[user/​monitor/​cmd|here]].
  
 ===== Change access to units ===== ===== Change access to units =====
  
-Choose ​[[user/​users/​users|users]] whose access rights ​will be modified when trigger conditions occur. Specify access that will be applied to those users after the notification triggers. ​This feature ​can be used, for instance, in the following situation. ​+Select ​[[user/​users/​users|users]] whose access rights ​should ​be modified when trigger conditions occur. Specify ​the access ​rights ​that should ​be applied to these users after the notification triggers. ​The Manage access to this item access right is required. You can use this feature, for instance, in the following situation: suppose you have created a user who monitors the transportation of their cargo, that is, they have access rights to certain units. After the cargo is delivered to the agreed place (that is, after entering a geofence), these units automatically become unavailable to the user
  
 {{ :​notify:​not_delivery_04.png?​nolink }} {{ :​notify:​not_delivery_04.png?​nolink }}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam