...
Create a new business process in a package that depends on the Beesender package.
Add a signal element and configure it as follows:
Which type of signal is received? = Object signal
Object = Beesender Chat
Which event should trigger the signal? = Record added
The added record must meet filter conditions, Actions:
CreatedOn > Exaxt < Exact time [value] – Select the start time of working hours in UTC
CreatedOn < Exaxt > Exact time [value] – Select the end time of working hours in UTC
Add Read data element and configure it as follows:
Which data read mode to use? = Read the first record in the selection
Which object to read data from? = Beesender Chat
How to filter records?
Id = Select an Id parameter from the Signal element
What record data should the process read?
Contact’s channel name
Add a User task and select Beesender: Text message. Configure it as follows:
ChatId – Select an Id parameter from the ‘Signal’ element
ClientId – Select a Contact’s channel name from the ‘Read data' element
OperatorId – Select a System user from the ‘System administration object’ lookup
Text – Insert the message text that you want to send to the user during non-working hours
Add a Modify data element and configure it as follows:
Which object to modify data of? = Beesender Chat
Modify all records that match condition, Actions:
Id = Select an Id parameter from the Signal element
Which column values to set for modified records?
Closed – Select ‘Boolean value’ → True
How the chat was closed – Select ‘Lookup value’ → Closed by process
...