Ações
Sumário
1. Conceito
O Fluxo de Integração oferece concepções de processamento de dados, denominadas como Ações, que permitem um alto nível de personalização na elaboração e manutenção de processos de integração. A seguir, um passo a passo de como inserir novas ações em fluxos de integração e a lista de ações disponíveis na versão mais recente do CONNECT, incluindo o nome da ação, uma descrição da funcionalidade, o tipo de retorno esperado, os atributos de entrada e os cenários de falha previstos.
2. Menu de Acesso
- Realize o login na Plataforma do CONNECT;
- Selecione Sobre;
- Clique em Fluxo de Integração.
3. Funcionalidades
3.1 Inserir Ações em Fluxos de Integração
Após o login, clique no botão superior do lado esquerdo da tela e acesse: Fluxo de Integração;
Para usar as ações, você precisa estar dentro de um fluxo de integração. Você pode criar um novo fluxo ou editar um já existente.
3.2 Editar ou Criar uma Ação
Após criar ou selecionar um fluxo existente, na coluna Ações, clique no ícone de Edição.Na tela de edição, você pode adicionar uma nova ação clicando no botão + da área de trabalho de ações ou em cada componente existente no fluxo. Em seguida, a tela de ações será aberta;
Defina um Nome e selecione o Tipo da ação,os botões Desabilitar Ação e Desabilitar Log vem inativos por padrão, mas podem ser ativados quando necessário.No campo Descrição, insira uma mensagem se desejar;
Por fim, cada ação exibirá um conjunto de configurações específicas de acordo com seu propósito.
Após configurar a ação, clique no botão Salvar;
Pronto! Agora é só executar o fluxo e acompanhar os resultados.
4. Lista de Ações Disponíveis
| Nome Action | Action Description | Action Return | Var Description | Description of use | Exceptions |
|---|---|---|---|---|---|
| AddObjectToListAction | Adiciona um objeto (Object) em uma lista (List) | boolean | String sourceList - Lista (List) de origemString sourceObjectToAdd - Objeto (Object) para ser incluido | Configuration error: List source not set or not foundConfiguration error: Source file is not instance of ListConfiguration error: Source Object unset or not found | |
| AddObjectToMapAction | Adiciona um objeto (Object) em um map (Map) | boolean | String sourceMap - Map (Map) de origemString keyMap - Chave (String) do MapString sourceObjectToAdd - Objeto (Object) para ser incluido | Configuration error: Map key is not setConfiguration error: Map source not set or not foundConfiguration error: Source file is not instance of MapConfiguration error: Object source not set or not found | |
| AddStringToListStringAction | Adiciona uma String em uma Lista de String (List<String>) | List<String> | String sourceString - String de OrigemString sourceListStr - List de String de Destino | Configuration error: sourceString not setConfiguration error: sourceListStr not setConfiguration error: sourceListStr not found in contextConfiguration error: sourceListStr is not instanceOf List | |
| CloseSocketConnectionAction | Fecha uma conexão socket | void | String serverName - Nome do servidor socketboolean ignoreErrors - Ignorar erros | ||
| CommentAction | Ação para definir um comentário no fluxo | null | |||
| ConcatStringFromListStringAction | Retorna String concatenada (String) de uma lista (List<String>) | String | String sourceList - Lista (List) de origemString concatChar - Valor (String) para ser usado como separador, padrão ',' | Configuration error: List source not set or not foundConfiguration error: Source file is not instance of List | |
| ConditionalErrorAction | Retorna um erro caso a condição seja verdadeira | null | String condition - nullString errorMessage - Mensagem do erroboolean stopExecution - Para a execuçãoboolean apiFormat - Retorna erro na API | ||
| ConvertDateStringToNewFormatDateString | Converte uma String de Data (String) para novo formato (String) | String | String dateToConvert - String de data para ser convertidaString patternFrom - Modelo (Pattern) atual (padrão: dd/MM/yyyy)String patternTo - Modelo (Pattern) novo (padrão: yyyy-MM-dd) | Configuration error: dateToConvert not set | |
| ConvertDateToLocalDateAction | Converte um valor Date para LocalDate | LocalDate | String targetPath - Data a ser convertida | Configuration error: Target Date is nullConfiguration error: Target value is not a Date | |
| ConvertDateToStringAction | Converte uma Data (Date) em uma String | String | String dateToConvert - Data para ser convertidaString pattern - Modelo (Pattern) para conversão (padrão: dd/MM/yyyy) | Configuration error: dateToConvert not setConfiguration error: convertedObject not foundConfiguration error: convertedObject is not Date | |
| ConvertFileToBase64String | Converte arquivo em uma String Base64 | String | String file - Arquivo que será convertido | Configuration error: The file is null | |
| ConvertFromByteStreamAction | Converte uma String em ByteStream | String | byte typeContentReturn - Tipo do conteudo de saidaString contentToConvertName - Conteúdo para ser convertido | Configuration error: content to convert was not informedConfiguration error: content to convert is invalidConfiguration error: content exceeded size limitConfiguration error: type not supported | |
| ConvertJsonArrayStringToListObjectAction | Converte uma String de Json Array em List<Object> | List<Object> | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in context | |
| ConvertJsonStringToJsonObjectAction | Converte uma String Json em JsonObject | Map<String, Object> | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in context | |
| ConvertListMapStringObjectToJsonArrayStringAction | Converte List<Map<String, Object>> para String (JsonArray) | JsonArrayString | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in contextConfiguration error: source object is not List object | |
| ConvertLocalDateToDateAction | Converte um valor LocalDate para Date | Date | String targetPath - Data a ser convertida | Configuration error: Target LocalDate is nullConfiguration error: Target value is not a LocalDate | |
| ConvertLocalDateToStringAction | Converte uma Data (LocalDate) em uma String | String | String dateToConvert - Data para ser convertidaString pattern - Modelo (Pattern) para conversão (padrão: dd/MM/yyyy) | Configuration error: dateToConvert not setConfiguration error: convertedObject not foundConfiguration error: convertedObject is not LocalDate | |
| ConvertMapStringObjectToJsonStringAction | Converte Map<String, Object> para String de JSON | JsonString | String sourceObject - Objeto de origemboolean processInsideNodes - Realiza aninhamento de objectos quando propriedades tem \ | Configuration error: source object not setConfiguration error: source object not found in contextConfiguration error: source object not is Map<String, Object> | |
| ConvertObjectToJsonStringAction | Converte Objeto (Object) para String de JSON (JsonString) | JsonString | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in context | |
| ConvertObjectToMapStringObjectAction | Converte Objeto (Object) em um Map<String, Object> | Map<String, Object> | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in context | |
| ConvertStringToLocalDate | Converte uma String em uma Data (LocalDate) | LocalDate | String dateToConvert - Data para ser convertidaString pattern - Modelo (Pattern) para conversão (padrão: dd/MM/yyyy) | Configuration error: dateToConvert not set | |
| ConvertToByteStreamAction | Converte um ByteStream em uma String | ByteStream | byte typeContentInput - Tipo do conteudo de entradaString contentToConvert - Conteúdo para ser convertido | Configuration error: content to convert is not informedConfiguration error: type not supported | |
| ConvertXmlToJsonStringAction | Converte XML para String de JSON | JsonString | String sourceObject - Objeto de origem | ||
| CopyFilesToAnotherLocalFolderAction | Copia arquivos de uma determinada pasta local para outra | null | String originPath - nullString targetPath - nullString fileNameFilter - null | ||
| CreateEmptyListAction | Cria uma lista vazia | List<Object> | |||
| CreateEmptyMapAction | Cria um Map vazio | Map<String, Object> | |||
| CreateExcelXlsxAction | Ação para criar XLSX a partir de um List<Map<String, Object>> | byte[] | String listMapSource - Objeto que contém a lista para ir para o Excel | Configuration error: List Map Source not set or not found in contextConfiguration error: List Map source object is not set correctlyConfiguration error: List Map Source Object is not set correctly, fail on convertionConfiguration error: List Map source object is not set correctly, null value | |
| CreateFileAttachmentAction | Cria um objeto do tipo FileAttachment para envio de e-mail | FileAttachment | String fileSource - Conteúdo do arquivo formato Byte[]String fileName - Nome do arquivo com a extensão solicitada: teste.txtBoolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txt | Configuration error: File source not set or not foundConfiguration error: vSource file is not instance of byte[]Configuration error: filename not set | |
| CreateFolderFTPAction | Criar pasta no FTP | null | String ftpAddress - Endereço do FTPString port = 21 - Porta (Padrão 21)Boolean ftpSecure = false - FTPS (File Transfer Protocol / SSL)Boolean sftp = false - SFTP (SSH File Transfer Protocol)String ftpCredential - Credencial de acesso ao FTPString ftpDirectory = - Diretório para criação do diretório (Padrão: diretório raiz)String folderName - Nome da pasta a ser criadaboolean ignoreErrors - Ignorar erros | Configuration error: The port cannot be parsed to numberConfiguration error: Credential not foundError while trying to create folder in FTP: + e.getMessage(), e | |
| CreateNewFolderAction | Cria uma nova pasta no disco local | null | String rootPath - nullString newFolderName - null | ||
| CreateOrReplaceStringToFromToAction | Ação para adicionar ou Atualizar um valor em um de/para | null | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIOString from - Identificador do DE/PARAString to - Valor do DE/PARA | Configuration error: collection not setConfiguration error: from not setConfiguration error: to not setfrom + -> fromValue not set | |
| CreateRandomUUID | Gerar UUID | String | |||
| CreateStringValueAction | Ação para criar uma String (Não faz replace) | String | String stringValue - Valor da String | ||
| CSVFromObjectListAction | Converte uma Lista de Objetos para CSV | ByteStream | String objectListName - Lista de Objetos para converter em CSVString delimiter - Caracter delimitador de colunas no CSV | Configuration error: object containing list for conversion not informedConfiguration error: list Map not set or not found in contextConfiguration error: list Map source object is not set correctly | |
| CSVToObjectListAction | Converte ByteStream de CSV em uma Lista de objetos | List<Map<String, Object>> | String contentCSVName - Conteúdo CSV para ser convertidoString delimiter - Caracter delimitador de colunas no CSV | Configuration error: content CSV to convert was not informedConfiguration error: content CSV not set or not found in contextConfiguration error: content CSV does not contain a valid entryContent error: invalid header, it shouldn't contains a dot (.) : + header | |
| DateNowAction | Retorna a data atual (Date) | Date | |||
| DateNowTimestampAction | Retorna a data atual por Fuso Horário (String) | String | String dateTimeZone - Fuso horárioString pattern - Modelo (Pattern) para saida (padrão: dd/MM/yyyy) | Configuration error: Invalid time-zone: + e.getMessage(), eConfiguration error: Invalid pattern: + e.getMessage(), e | |
| DateOperationsAction | Realiza operações com data | null | String targetPath - Data da operaçãoList<DateOperations> operations - Operações | Configuration error: The value ' + targetPath + ' must be of Date or LocalDate type | |
| DaysBetweenDatesActions | Retorna a diferença (long) de dias entre duas datas (LocalDate) | boolean | String startDate - Data (LocalDate) de InícioString endDate - Data (LocalDate) de Fim | Configuration error: startDate not set or not found in contextConfiguration error: endDate not set or not found in contextConfiguration error: startDate is not instance of LocalDateConfiguration error: startDate is not instance of LocalDate | |
| DecimalStringFormatedStringAction | Formata um numero decimal (String) retorna (String) | String | String decimalValue - Valor para ser convertidaString format - Formato. padrão: #.## | Configuration error: Decimal value not set | |
| DeleteDirectoryFilesAction | Deleta os arquivos de um diretório | null | String directory - Diretório dos arquivosBoolean recursive = false - Deleta os arquivos de forma recursiva (Navega pelas pastas internas. Padrão falso)String filterRegex = null - Filtrar arquivos por expressão regular | Configuration error: The directory doesn't existConfiguration error: The directory cannot be a single file | |
| ExecuteJavaAction | Executa um procedimento/código JAVA | Object | String code - Código java a ser processado | this, e.getMessage() + . + hint, e | |
| ExecuteQueryDatabaseAction | Executa query sql no banco | List<Map<String, Object>> | String tenant - Banco de dadosString query - SELECT QUERY | Configuration error: Database not setConfiguration error: Database + tenant + not activethis.criticalError | |
| ExecuteQuerySingleLineDatabaseAction | Executa query sql no banco - retorna uma linha | Map<String, Object> | String tenant - Banco de dadosString query - SELECT QUERY | Configuration error: Database + tenant + not activethis.criticalError | |
| ExecuteTransactionQueryDatabaseAction | Executa Query Transacional (Insert, update, delete) no banco de dados | int | String tenant - Banco de dadosString query - UPDATE, INSERT or DELETE Query | Configuration error: Database + tenant + not activethis.criticalError | |
| ExecuteTransactionQueryDatabaseAndReturnIdAction | Executa Query Transacional (Insert, update, delete) no banco de dados e retorna um Map com todos os valores gerados | Map<String, Object> | String tenant - Banco de dadosString query - UPDATE, INSERT or DELETE Query | Configuration error: Database + tenant + not activethis.criticalError | |
| ExtractMapKeysToListStringAction | Extrai as chaves de um map (Map<String, Object>) para lista (List<String>) | List | String sourceObject - Objeto de origem | Configuration error: source object not setConfiguration error: source object not found in contextConfiguration error: source object is not Map | |
| ExtractTagFromXmlAction | Extrai conteúdo de uma tag xml de um xml | XML | String sourceObject - objeto de origemString tagToExtract - null | ||
| ExtractTagValueFromXmlAction | Extrai valor de uma tag xml | Object | String sourceObject - objeto de origemString tagToExtract - null | Configuration error: sourceObject not set or not found on contextConfiguration error: tagToExtract not setConfiguration error: sourceObj is not a String | |
| FileReadAction | Faz a leitura de um arquivo | ByteStream | String filePath - Nome do arquivo (incluindo diretório) | Configuration error: file path is blank!Configuration error: file not exist!Configuration error: it's not a file!Configuration error: unable to read file! | |
| FileWriteAction | Faz a escrita de um arquivo | null | String filePath - Nome do arquivo (incluindo diretório)String contentName - Conteudo para escrever | Configuration error: file path is blank!Configuration error: content is invalid!Configuration error: directory does not exist! | |
| FillColumnsNamesAction | Preenche o nome das colunas de uma String[] | Map<String, Object> | String sourceArrayObject - Objeto String[] para transformar ObjetoString sourceListObject - Objeto List<String> que contém o nome das Colunas, precisa ter a mesma quantidade de nomes das colunas presentes no objeto array | Configuration error: Source object not set or not in contextConfiguration error: Source Object not is String[]Configuration error: Source object not set or not in contextConfiguration error: Source Object is not a instance of List<String>Configuration error: Source string array length is not the same as the column names list | |
| FinalizeExecutionAction | Ação para finalizar a execução | return | String objectName - Objeto para retornar na execucao | objToReturn | |
| FinalizeForExecutionAction | Ação para finalizar (break) um for | return | null | ||
| ForAction | Executa um for em uma determinada lista | null | String listObjectName - Objeto List para ser percorridoAction alternativeAction - Ação para executar dentro do FOR | Configuration error: source object ' + listObjectName + 'not in contextConfiguration error: source object ' + listObjectName + 'not instanceof List | |
| ForMapAction | Executa um for em uma determinado Map | Boolean | String mapObjectName - Objeto Map<String,Object> para ser percorridoAction alternativeAction - Ação para executar dentro do FOR | Configuration error: source object ' + mapObjectName + 'not in contextConfiguration error: source object ' + mapObjectName + 'not instanceof Map | |
| FromToAction | Ação para retornar o valor de um de/para | null | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIOString from - Identificador para procurar DE/PARA | Configuration error: collection not setConfiguration error: from not set | |
| FromToByValueAction | Ação para retornar a chave (Object) de um de/para com base no valor | Object | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIOString from - Valor para procurar DE/PARA | Configuration error: collection not setConfiguration error: from not set | |
| FromToCollectionsAction | Ação para retornar a lista de de/para de uma coleção | List<FromTo> | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIO | Configuration error: collection not set | |
| FTPCreateFolderAction | Cria um diretório completo em um Servidor FTP | null | int ftpType - Tipo do Servidor FTPString host - Host do Servidor FTPString port - Porta do Servidor FTPString credentialName - Credencial de acesso ao Servidor FTPString dirName - Nome completo do diretório | Configuration error: Invalid input for host: + e.getMessage(), eConfiguration error: Invalid input for port: + e.getMessage(), eConfiguration error: Invalid input for port, can't convert to number: + port, eConfiguration error: There is no credential with this name: + this.credentialNameConfiguration error: Invalid input for dir name: + e.getMessage(), eConfiguration error: + e.getMessage(), e | |
| FTPListNamesAction | Retorna uma lista com os nomes de conteúdos em um diretório de um Servidor FTP | List<String> | int ftpType - Tipo do Servidor FTPString host - Host do Servidor FTPString port - Porta do Servidor FTPString credentialName - Credencial de acesso ao Servidor FTPString dirName - Nome completo do diretórioint listOption - Quais tipo de items devem ser listado | Configuration error: Invalid input for host: + e.getMessage(), eConfiguration error: Invalid input for port: + e.getMessage(), eConfiguration error: Invalid input for port, can't convert to number: + port, eConfiguration error: There is no credential with this name: + this.credentialNameConfiguration error: Invalid input for dir name: + e.getMessage(), eConfiguration error: directory doesn't existsConfiguration error: Unknown list optionConfiguration error: + e.getMessage(), e | |
| FTPReadFileAction | Faz a leitura de um arquivo de um Servidor FTP | ByteStream | int ftpType - Tipo do Servidor FTPString host - Host do Servidor FTPString port - Porta do Servidor FTPString credentialName - Credencial de acesso ao Servidor FTPString fileName - Nome completo do arquivo | Configuration error: Invalid input for host: + e.getMessage(), eConfiguration error: Invalid input for port: + e.getMessage(), eConfiguration error: Invalid input for port, can't convert to number: + port, eConfiguration error: There is no credential with this name: + this.credentialNameConfiguration error: Invalid input for file name: + e.getMessage(), e!ftp.fileExists(fileName)Configuration error: + e.getMessage(), eError while creating InputStream: + e.getMessage(), e | |
| FTPWriteFileAction | Faz a escrita de um arquivo de um Servidor FTP | null | int ftpType - Tipo do Servidor FTPString host - Host do Servidor FTPString port - Porta do Servidor FTPString credentialName - Credencial de acesso ao Servidor FTPString fileName - Nome completo do arquivoString contentName - Conteúdo para ser escrito | Configuration error: Invalid input for host: + e.getMessage(), eConfiguration error: Invalid input for port: + e.getMessage(), eConfiguration error: Invalid input for port, can't convert to number: + port, eConfiguration error: There is no credential with this name: + this.credentialNameConfiguration error: Invalid input for file name: + e.getMessage(), eConfiguration error: content isn't a valid entryConfiguration error: Invalid file name: + fileNameConfiguration error: Directory doesn't exists for this file name: + fileNameConfiguration error: + e.getMessage(), e | |
| GenerateHashMD5FromString | Gera o hash MD5 de uma string. | null | String stringInput - String de origem | ||
| GenerateXmlPayloadAction | Gera xml substituindo campos vindo de um Map<String, Object> | XML | String sourceObject - Objeto Map<String, Object> de origem para substituiçãoString xmlInput - XML | ||
| GetImageFromUrl | Baixa imagem e envia através de API | null | String stringImageUrl - Url da imagemString stringImagePrefix - Prefixo do nome da imagemString stringImageExtension - Extensão da imagemString stringApiUrl - Url da Apiprotected String wsAuthenticationType - Tipo de Autenticaçãoprotected String wsAuthenticationToken - Token de autenticação | e.toString()Configuration error: Image URL not set!Configuration error: API URL not set! | |
| GetNextValueFromSequenceAction | Ação para retornar o próximo valor de uma sequência | Long | String sequenceIdentifier - Nome da sequência | Configuration error: Sequence identifier not set | |
| GoToAction | Ação para desviar o fluxo para outra ação | boolean | /** It's the name of the action that we wanna go to */ - Próxima ação | Configuration error: source action not setConfiguration error: firstAction not found in contextConfiguration error: firstAction is not Actionthis.actionToGo, lastReturn | |
| IfAction | Ação para criar condições | null | String condition - nullAction alternativeAction - Ação que será executada caso falso | ||
| IndexOfAction | Retorna a posição da string desejada dentro de outra string (indexOf) | Int | String inputString - String de entradaString charactersToFind - Caracteres de buscaString initialIndex - Índice inicial, inclusive (padrão 0) | Error while parsing index: + e.getMessage() | |
| JoinArrayIntoStringAction | Junta os objetos de um array em uma String por um delimitador e prefixo | String | String sourceArray - Array de origemString separatorChar - Separador na string finalString prefixChar - Caracter de prefixo e sufixo | Configuration error: sourceArray is not set or is not in contextConfiguration error: separatorChar is not setConfiguration error: sourceArray is not type of Object[] | |
| LabelAction | Ação para identificar um desvio no fluxo | null | |||
| ListFilesInFolderAction | Lista arquivos de uma pasta | List<SeniorConnectFile> | String host - nullString sharedDisk - nullString sharedFolder - nullString extensionFilter - nullString credentialName - Credencial de acesso | Configuration error: Host not set!Configuration error: Shared disk not set!Configuration error: Shared folder not set! | |
| ListFromToByValueAction | Ação para retornar uma lista de chaves (List<Object>) de um de/para com base no valor | List<Object> | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIOString to - Valor para procurar DE/PARA | Configuration error: collection not setConfiguration error: from not set | |
| ListStringAction | Ação para criar uma Lista de String | List<String> | List<String> listaString - Lista de String | ||
| LoadFileToByteArrayAction | Carrega arquivo SmbFile para um byte[] | byte[] | String sourceFile - Arquivo SmbFile a ser processado | Configuration error: filename not setConfiguration error: filename not found in contextConfiguration error: file don't exists | |
| LoadFileToStringAction | Carrega um Arquivo SmbFile para uma String | String | String sourceFile - Arquivo SmbFile a ser processado | Configuration error: filename not setConfiguration error: filename not found in context | |
| LocalDateNowAction | Retorna a data atual (LocalDate) | LocalDate | |||
| LpadAction | Acrecenta caracteres a esquerda de uma string (LPAD) | String | String inputString - String que será adicionado caracteresString charToAdd - Caracter a ser adicionado a esquerda da string (padrão '0')long numberOfChar - Tamanho final da string | ||
| MoveFileAction | Move arquivo para outra pasta usando smb | null | String host - Nome do servidor onde está a pasta compartilhadaString sharedDisk - Disco compartilhado. Ex: C$String from - Pasta origemString to - Pasta destino. Caminho relativo desde o disco compartilhadoString file - ArquivoString credentialName - Credencial de acesso | ||
| NextForExecutionObjectAction | Ação para avançar (continue) para o próximo objeto em um for | return | null | ||
| ObtemCodigoProximoLocalHierarquiaSeniorAction | Obtém o código do próximo local na hierarquia do RH Senior | String | String bancoVetorh - Banco de dadosString tabOrg - Tabela organogramaString codigoLocalPai = #codigo-local-pai# - Código do local paiString databaseSchema - Schema do banco de dados | ||
| ObtemSaldoBancoHorasSeniorAction | Calcula saldo de Banco de Horas no RH Senior | List<Map<String, Object>> | String databaseName - Banco de dados para extraçãoString funcionariosParaExtracaoPath - Funcionários para o cálculo (Formato: #numEmp#-#tipCol#-#numCad#)String diasFiltroBancoHorasTemplate - Parâmetro para filtragem de diasboolean agruparPorBanco - Agrupar por banco de horasboolean ignorarSaldosZerados - Ignorar saldos zerados | Falha na busca do saldo de banco de horas -> + e.getMessage(), eO caminho + funcionariosParaExtracaoPath + não existe no contextoO objeto no caminho + funcionariosParaExtracaoPath + não contém uma lista | |
| OpenSocketConnectionAction | Abre uma conexão socket | SocketAdapter | String serverName - Nome do servidor socketboolean ignoreErrors - Ignorar erros | ||
| ParameterAction | Ação para retornar o valor de um parâmetro | String | String parameterName - Nome do parâmetro para buscar o valor | Configuration error: parameterName not set | |
| ParameterCollectionAction | Ação para retornar um conjunto de parâmetros em Objeto | Map<String, String> | Map<String, String> parameters - Parâmetros | Configuration error: Parameter doesn't exist: + parameterName | |
| PDFSetPasswordAction | Adiciona senha a um PDF | ByteStream | String pdfContentName - PDF para adicionar senhaprotected int compressionAlgorithm - Algoritmo da chave simétricaString currentPassword - Senha atual (se disponível)String newPassword - Nova senha (se não informado irá remover a senha)protected boolean withEncryptMetadata - Encrypt metadata | Configuration error: the content of the PDF has not been providedConfiguration error: previous or current password must be enteredConfiguration error: private key does not contain a valid entryConfiguration error: can't read file because the current password is wrong!, eConfiguration error: can't read file: + e.getMessage(), ee.getMessage(), e | |
| PGPDecryptionAction | Realiza o decriptamento de dados com PGP | ByteStream | String privateKeyName - Conteúdo da chave privadaString contentToDecryptName - Conteúdo para ser decriptadoString passphrase - Senha | Configuration error: private key does not contain a valid entryConfiguration error: content Decryt does not contain a valid entryConfiguration error: value for passphrase was not providede.getMessage(), e | |
| PGPEncryptionAction | Realiza o encriptamento de dados com PGP | ByteStream | protected int compressionAlgorithm - Algoritmo de compressãoprotected int symmetricKeyAlgorithm - Algoritmo da chave simétricaprotected boolean armor - Armorprotected boolean withIntegrityCheck - Validar IntegridadeString publicKeyName - Conteúdo da chave publicaString contentToEncryptName - Conteúdo para ser encryptado | Configuration error: public key is invalidConfiguration error: context text is invalide.getMessage(), e | |
| ReceiveSocketMessageAction | Recebe uma mensagem através de uma conexão socket | null | String serverName - Nome do servidor socketString secondsTimeout - Tempo máximo de espera em segundos (mínimo 1, máximo 300)String validationRegex - Regex para validação (a primeira mensagem que passar pela validação será usada) | A conexão socket com o servidor \ + serverName + \ não está abertaO campo \timeout\ deve ser um inteiro de 1 a 300O campo \timeout\ tem valor mínimo de 1 e máximo de 300Não foi possível ler a mensagem da conexão, e | |
| RegexReplaceAction | Aplica um Regex e retorna o resultado da substituição | String | String targetPath - Valor a ser processadoString regex - RegexString replacement = - Substituição | Configuration error: Target String is nullConfiguration error: Target value is not a StringRegex error: + e.getMessage(), e | |
| RemoveObjectFromListAction | Remove um objeto (Object) de uma lista (List) | boolean | String sourceList - Lista (List) de origemString sourceObjectToRemove - Objeto (Object) para ser excluido | Configuration error: List source not set or not foundConfiguration error: Source file is not instance of ListConfiguration error: Source Object unset or not found | |
| RemoveStringFromMapAction | Remove um atributo de um Map (Map<String, Object>) | boolean | String sourceList - Map (Map<String, Object>) de origemString mapStringKey - Chave (String) | Configuration error: Map source not set or not foundConfiguration error: Source file is not instance of byte[]Configuration error: Map string key is not set | |
| RemoveStringFromToAction | Ação para remover o valor de um de/para | null | String collection - Coleção do DE/PARA, ex.: CLIENTE, FUNCIONARIOString from - Identificador do DE/PARA | Configuration error: collection not setConfiguration error: from not set | |
| RenameFileAction | Renomeia um arquivo SmbFile | Boolean | String sourceFile - Arquivo para ser renomeadoString newNameFile - Novo nome do arquivo com a extensão solicitada: teste_old.txtString credentialName - Credencial de acessoBoolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txt | Configuration error: source file not set foundConfiguration error: new name file not set | |
| ReplaceValueInContextAction | Substitui um valor do contexto | boolean | String targetPath - Valor que será substituídoString sourcePath - Valor que substituirá | ||
| ReturnDocuSignTokenAction | Retornar token DocuSign | String | String apiUsername - Api UsernameString integrationKey - Integration KeyString publicKey - RSA Keypairs ID - Chave públicaString privateKey - RSA Keypairs ID - Chave Privadaboolean production - Ambiente Produção? | ||
| ReturnLogIdentifierAction | Retorna o identificador de log para a execução desse fluxo. | String | mlog == nullStringUtils.isBlank(logIdentifier) | ||
| ReturnObjectByIndexFromArrayAction | Retorna Objeto (Object) por um índice (index) de um Array(Object[]) | Object | String sourceObjectArray - Objeto de origem para retornarString indexOfObject - Índice do objeto. (Padrão '0') | Configuration error: sourceObjectArray is not set or not found in contextConfiguration error: sourceObjectArray is not a Array | |
| ReturnObjectByIndexFromListAction | Retorna Objeto (Object) por um índice (index) de uma Lista(List) | Object | String sourceObjectArray - Objeto de origem (List) para retornarString indexOfObject - Índice do objeto. (Padrão '0') | Configuration error: sourceObjectArray is not set or not found in contextConfiguration error: sourceObjectArray is not a List | |
| ReturnPDFFromBase64Action | Converte Base64 para Pdf | String | String rootPath - Diretório para geração do PdfString base64 - Conteúdo Base64String prefixFileName - Prefixo do Pdf | Configuration error: Directory inexistent or inaccessible! | |
| ReturnValueAction | Ação para retornar algum objeto específico | Object | String objectName - Objeto de origem para retornar | ||
| RpadAction | Acrecenta caracteres a direita de uma string (RPAD) | String | String inputString - String que será adicionado caracteresString charToAdd - Caracter a ser adicionado a direita da string (padrão '0')long numberOfChar - Tamanho final da string | ||
| SaveByteArrayIntoFileAction | Salva um byte[] em um arquivo | Boolean | String byteArrayInputContentSource - Conteúdo do arquivo formato byte[]String destinePath - nullString fileName - nullString credentialName - Credencial de acessoBoolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txt | Configuration error: password not setConfiguration error: byte input not set or not foundConfiguration error: filename not setError while constructing finalName = Path + ?timestamp + fileNameError while creating file via SmbFile + e.getMessage()+ + e.toString() | |
| SaveStringIntoFileAction | Salva uma string em um arquivo | Boolean | String stringInput - Conteúdo do arquivo formato StringString destinePath - nullString fileName - nullString credentialName - Credencial de acessoBoolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txt | Configuration error: String input not set or not foundConfiguration error: filename not set | |
| SendDirectoryFilesToFTPAction | Envia os arquivos de um determinado diretório para o FTP | null | String ftpAddress - Endereço do FTPString port = 21 - Porta (Padrão 21)Boolean ftpSecure = false - FTPS (File Transfer Protocol / SSL)Boolean sftp = false - SFTP (SSH File Transfer Protocol)String ftpCredential - Credencial de acesso ao FTPString ftpDirectory = - Diretório para envio do arquivo no FTP (Padrão: diretório raiz)String directory - Diretório dos arquivos a serem enviados (Exemplo: C:/arquivos)Boolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txtString filterRegex = null - Filtrar arquivos por expressão regular | Configuration error: The directory doesn't existConfiguration error: The directory is a fileConfiguration error: Credential not foundConfiguration error: The port cannot be parsed to numberError while trying to send files from directory to FTP: + e.getMessage(), e | |
| SendFileByteArrayToFTPAction | Envia arquivo Byte[] para o FTP | null | String ftpAddress - Endereço do FTPString port = 21 - Porta (Padrão 21)Boolean ftpSecure = false - FTPS (File Transfer Protocol / SSL)Boolean sftp = false - SFTP (SSH File Transfer Protocol)String ftpCredential - Credencial de acesso ao FTPString ftpDirectory = - Diretório para envio do arquivo no FTP (Padrão: diretório raiz)String fileSource - Conteúdo do arquivo formato Byte[]String fileName - Nome do arquivo que será criadoBoolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txtboolean ignoreErrors - Ignorar erros | Configuration error: File source not set or not foundConfiguration error: Source file is not instance of byte[]Configuration error: filename not setConfiguration error: The port cannot be parsed to numberConfiguration error: Credential not foundError while trying to send file byte array to FTP: + e.getMessage(), e | |
| SendFileToFTPAction | Envia arquivo de um determinado caminho para o FTP | null | String ftpAddress - Endereço do FTPString port = 21 - Porta (Padrão 21)Boolean ftpSecure = false - FTPS (File Transfer Protocol / SSL)Boolean sftp = false - SFTP (SSH File Transfer Protocol)String ftpCredential - Credencial de acesso ao FTPString ftpDirectory = - Diretório para envio do arquivo no FTP (Padrão: diretório raiz)String filePath - Caminho do arquivo (Exemplo: C:/teste.txt)String fileName = null - Novo nome para o arquivo (Padrão: mesmo nome do arquivo a ser enviado)Boolean addTimestampToFileName - Acrescenta Sufixo com a data hora no final do arquivo: teste_20200421-141700.txtboolean ignoreErrors - Ignorar erros | Configuration error: The port cannot be parsed to numberConfiguration error: The file path doesn't existConfiguration error: The file path is a directoryConfiguration error: Credential not foundError while trying to send file to FTP: + e.getMessage(), e | |
| SendMailAction | Ação para enviar e-mail | null | String emailServer - Servidor de e-mailString toDestinationsSource - Lista de emails para enviar no paraString copyDestinationsSource - Lista de emails para enviar no Com CopiaString blindCopyDestinationsSource - Lista de emails para enviar no Com Copia OcultaString subject - Assunto do EmailString content - Conteudo do e-mailString fileAttachmentSource - Arquivo FileAttachment para anexar no e-mail | Configuration error: No Destination setConfiguration error: No Destination setConfiguration error: Subject not setConfiguration error: content not setFile Attachment not found in context | |
| SendSocketMessageAction | Envia uma mensagem através de uma conexão socket | void | String serverName - Nome do servidor socketString message - Mensagem | A conexão socket com o servidor \ + serverName + \ não está aberta | |
| SetStringConditionAction | Retorna uma String de acordo com a condição | String | String condition - nullString trueValue - String que será retornada caso verdadeiroString falseValue - String que será retornada caso falso | ||
| SetValueConditionAction | Retorna um Object de acordo com a condição | Object | String condition - nullString trueValue - Objecto que será retornado caso verdadeiroString falseValue - Objecto que será retornado caso falso | Configuration error: True value not set or is not in contextConfiguration error: False value not set or is not in context | |
| SetValueExpressionAction | Retorna valor Object de acordo com a expressão | Object | String expression - null | expression not set | |
| ShowErrorMessageInMonitoringAction | Mostra mensagem erro no Monitoramento | boolean | String objectName - Objeto de origem para mostrar no MonitoramentoString message - Mensagem para mostrar | ||
| ShowObjectDetailsInMonitoringAction | Mostra os detalhes de um Map (Map) no Monitoramento | boolean | String objectName - Objeto de origem para retornarString message - Mensagem para mostrar | ||
| SplitStringByColumnLenghtAction | Divide as linhas de um arquivo (Formato String) por colunas de caracteres de acordo com os tamanhos preenchidos | List<String[]> | String stringInput - String de origemList<String> listColumnsSize - Lista de quantidade de caracteres que cada coluna de uma string será dividida | Configuration error: string input not set or not found in contextConfiguration error: listColumnsSize not set | |
| SplitStringByDelimiterAction | Divide uma String por um delimitador | String[] | String stringInput - String de origemString delimiter - Demilitador: ',', ';', \\t (tab) | Configuration error: stringInput not setConfiguration error: delimiter not set | |
| SplitStringFromFileByDelimiterAction | Divide as linhas de um arquivo (formato String) por um delimitador | List<String[]> | String stringInput - String de origemString delimiter - Demilitador: ',', ';', \\t (tab) | Configuration error: string input not validConfiguration error: delimiter not set | |
| StringReplaceAction | Cria uma string e faz o replace caso necessário | String | String stringInput - String de origem | ||
| SubstringAction | Retorna uma nova string que é uma subcadeia dessa string (Substring) | String | String inputString - String de entradaString initialIndex - Índice inicial, inclusive (padrão 0)String endIndex - Índice final, exclusivo (Padrão 1) | Error while converting index: + e.getMessage() | |
| SumDayInDateAction | Faz a soma ou subtração de dias de uma data | Date | String dateToConvert - DataString days - Dias para somar ou subtrair | Configuration error: convertedObject not foundConfiguration error: DaysConverted not foundConfiguration error: convertedDays not foundConfiguration error: convertedDate not found | |
| TryCatchAction | Executar try/catch de uma Action | null | Action alternativeAction - Ação a ser executada no try/catch | ||
| ValueValidationAction | Realiza a validação de um valor do contexto | null | String targetPath - Caminho do valor a ser validadoValueValidations validation - Validação a realizarList<String> parameters - Parâmetros da validaçãoboolean valueIsOptional - Valor é opcionalString fieldName - Nome do campo (usado na mensagem de erro padrão)String message - Mensagem de retornoboolean stopExecution - Para a execuçãoboolean apiFormat - Retorna erro na API | ||
| WebServiceRestAction | Ação para realizar a chamada de um WebService REST | JsonString | protected String wsUrl - URL do WSprotected String wsMethod - Métodoprotected String wsAuthenticationType - Tipo de Autenticaçãoprotected String wsAuthenticationToken - Token de autenticaçãoprotected String wsAuthenticationBean - Bean customizado de autenticaçãoprotected boolean ignoreException = false - Ignorar errosprotected String credentialName - Credencial de acessoprotected String returnEncoding - Encoding de retornoString content - Conteúdo a ser enviadoprotected String connectAndReadTimeout - Timeout de conexão e leitura da requisição (em millisegundos) | Connect/Read Timeout must be an Integer. Current value: + replacedConnectAndReadTimeout | |
| ConvertToByteStreamAction & ConvertFromByteStreamAction | Transforma e bidireciona diversos tipos de dados em ByteStream. | Uma ByteStream é o tipo de dados que as ações do CONNECT vão retornar ao interagir com arquivos. | |||
| PgpEncryptionAction & PgpDecryptionAction | Permite encriptar e decriptar arquivos com o algoritmo PGP (Pretty Good Privacy) de forma no-code. | Permite encriptar e decriptar arquivos com o algoritmo PGP (Pretty Good Privacy) de forma no-code, bastando configurar os parâmetros utilizados nos seus arquivos. | |||
| ParameterCollectionAction | Retorna identificadores de log de monitoramento. | Retorna com o identificador do log de monitoramento para ser utilizado dentro da sua integração. | |||
| ReturnLogIdentifierAction | Converte lista de objetos. | Converte lista de objetos dentro do CONNECT para um CSV representado em ByteStream, ou vice-versa. | |||
| SetPdfPasswordAction | Adiciona senha em arquivos PDF. | Adiciona uma senha em um arquivo de PDF, representado em ByteStream. | |||
| DateNowTimestampAction | Cria uma String de Timestamp. | Cria uma String de Timestamp de acordo com o formato configurado. | |||
| GetDirectoryFromFTPAction | Retorna com diretórios de servidores FTP. | Retorna todos os diretórios de um caminho em servidor FTP. | |||
| GetFileFromFTPAction | Busca arquivos em servidores FTP. | Busca um arquivo em servidor FTP e retorna ele para a integração no formato ByteStream. |

English
Español


