Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • name includes the name that the bot has.

  • botTimeout es el tiempo en minutos que espera el bot sin recibir respuesta para terminar la interacción y darla por abandonada, por defectoson 30 minutos.

  • msgBotTimeout es el mensaje que se muestra luego de que se de el botTimeout.

BotFunctionStartActivity

Para poder crear un bot function se cuenta con la actividad BotFunctionStartActivity. 

...

Esta actividad, a diferencia de la BotStartActivity, únicamente posee el campo ‘nombre’.

...

  • is the time in minutes that the bot waits without receiving a response to end the interaction and give it up, by default it is 30 minutes.

  • msgBotTimeout is the message that is displayed after the botTimeout is given.

...

BotFunctionStartActivity

In order to create a bot function, we have the BotFunctionStartActivity activity.

...

This activity, unlike the BotStartActivity, only has the 'name' field.

That is, the initial activity of a function bot does not have the ‘bot_timeout’ field, nor the ‘timeout_message’ field, which means that the timeout that will be taken into account is that of the bot that calls the bot function.

...

ChannelProviderStartActivity

...

  • name
    Va a ser el nombre del proveedor, el mismo va a aparecer en las campañas de SMS/WhatsApp y en los discadores del mismo canal.

...

  • It will be the name of the provider, it will appear in the SMS/WhatsApp campaigns and in the dialers of the same channel.

Tip

If the provider's name contains the word "WhatsApp" in the unified inbox, it will appear with WhatsApp icons and the agent will have the ability to send attachments.

...

WebhookStartActivity

...

  • name
    Es el nombre del webhook que al mismo tiempo se va a corresponder con la ruta de POST para poder ejecutar el flujoIt is the name of the webhook that, at the same time, will correspond to the POST path to be able to execute the flow.

POST https://instance.ucontactcloud.com/IntegraChannels/resources/webhook/{name}

...

BlacklistStartActivity

Actividad que inicializa el flujo de blacklistActivity that initializes the blacklist flow.

...

Flows Log

...

Log4j2 is used as a library for the flow log, and the file where you can see everything related to bots is found in var/log / IntegraFlows.log

Este archivo no solo loguea los errores, sino que de manera similar a lo que se hace en el https://integra-scm.atlassian.net/l/c/nY4voq0m, loguea todas las actividades que se van recorriendo a medida que se recorre el flow.

El formato en que se imprime la información en IntegraFlows.log es el siguiente:

AAAAThis file not only logs the errors but, similarly to what is done in it, it logs all the activities that are being traversed as the flow is traversed.

The format in which the information is written in IntegraFlows.log is as follows:

YYYY-MM-DD HH: mm: ss - [Número de thread] - [Nombre del flow - guid del flow] [Número de pasos de la actividad]

Primero se va a loguear la ejecución de la actividad y luego se loguean los parámetros de la actividad que se ejecutó.

Cuando el flow finaliza se imprime el mensaje FINISH.

Ejemplo— [Thread number] — [Flow name — flow guide] [Activity step number]

First, the execution of the activity will be logged and then the parameters of the activity that was executed will be logged.

When the flow ends, the FINISH message shows.

Example:

...

Logger

...

Una vez que se carga un flujo con contexto Once a flow with bots, channel providers o webhooks en , or webhooks is loaded in Workflow Designer, se puede visualizar la opción Logger, la cual permite ver el log de todas las ejecuciones del flow que está cargadothe Logger option will be displayed, which allows you to see the log of all the executions of the flow that is loading.

...

Por defectoBy default, el the logger está desactivado, para activarlo hay que presionar en el interruptor que se encuentra en la esquina superior izquierda.

También cuenta con la posibilidad de filtrar los mensajes en la consola del workflow según nivel de error. Los niveles disponibles son Info, Warning y Severe.

Ejemplo de Logger:

...

is deactivated, to activate it you have to press the switch in the upper left corner.

It also has the possibility to filter the messages in the workflow console according to the level of error. The available levels are Info, Warning, and Severe.

 

Logger example:

...