Páginas filhas
  • Configuration of requests for posting and transfer via workflow - SIGAATF - P12

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Totvs custom tabs box
tabsStep 01, Step 02, Step 03, Step 04, Step 05, Step 06, Step 07, Step 08
idsstep1,step2,step3,step4,step5,step6,step7,step8
Totvs custom tabs box items
defaultyes
referenciastep1
  • E-MAIL ACCOUNTS

Through the configurator (SIGACFG), access:

Environment > Workflow > E-mail Accounts


Mailbox

Enter the mailbox data. Remember to enter the e-mail address the sender will use for contingency approvals in the address. We use the following e-mail address in our example:  [email protected]


Receive Messages

Enter the POP3 server and the port, as well as the e-mail accounts and their respective passwords, to be used for receiving messages

Send Messages

Enter the SMTP port and server, as well as the account to be used for sending the contingency approvals.



Totvs custom tabs box items
defaultno
referenciastep2
  • WORKFLOW PROCESSES

In the configurator menu, access:

Environment > Workflow > Workflow Processes

Add a workflow process.



Totvs custom tabs box items
defaultno
referenciastep3
  • WORKFLOW STATUS

In the configurator menu, access:

Environment > Workflow > Workflow Status

Add a workflow status, linking the process added in the previous step



Totvs custom tabs box items
defaultno
referenciastep4
  • WORKFLOW PARAMETERS

In the configurator menu, access:

Environment > Workflow > Workflow Parameters


Postal Service

Select the options in accordance with your preferences. Our contingency approval example displays them as follows:



Processes




Notification



Messenger



Informações
titleAttention
It is important to enter the workflow's web service address in the field Server. 




Totvs custom tabs box items
defaultno
referenciastep5
  • E-MAIL/PROXY

In the configurator menu, access:


Environment > E-mail/Proxy > Settings


Enter the e-mail server data




              

Configuring the web service:

Access the SRVWIZARD:


               

Select the folder Web Modules and click Add

Fill out the fields on the screen as shown:

               


          Link the address of your host (web service) with the code of the branch you will use:

          [HTTP]

          ENABLE=1

          PORT=83

          Enter the localhost address + the port found in the HTTP key in the .INI of the server.

          


         

          Configure the minimum and the maximum number of users that will access the web service and click Confirm:


          



Totvs custom tabs box items
defaultno
referenciastep6
  • INSTALLING AND CONFIGURING THE E-MAIL SERVER

 This tool functions as a local e-mail server with SMTP and POP.

 We can download this tool for free via developers portal http://www.hmailserver.com

         

 Configuring Mozilla Thunderbird:

 The Thunderbird e-mail tool is free and can be downloaded directly from the Mozilla developers web site:

 https://www.mozilla.org/pt-BR/thunderbird

       

The documentation attached below contains the settings for this server:

CONFIGURING THE E-MAIL SERVER.docx

        

If you need help with the local server and the e-mail tool, the document below shows how to set up the account for sending the workflow account by Gmail.


          

          

           

            

           

           

           





Totvs custom tabs box items
defaultno
referenciastep7
  • SYSTEM PARAMETERS (SX6)

The system parameters below are required for using the workflow in request approvals.

MV_ATFSOLD - Enter whether the process for requesting Postings/Transfers is active 


MV_PRELAN - Generate pre-entry in accounting


MV_ALTLCTO - Permite alterar lançamento contábil de integração


MV_ATFHTTP - Diretório do servidor HTTP  


MV_ATFWBX - Ativa envio de workflow na solicitação de baixa/transferência


MV_ATFWFM= Indica se deve ser gerado WF para solicitações



MV_ATFASTR - Arquivo HTML de modelo da aprovação da solicitação 


MV_ATFASBX - Arquivo HTML de modelo de solicitação de baixa



MV_ATFAAPS 
- Arquivo HTML de modelo da solicitação de transferência de ativo 



MV_ATFURL - URL do serviço HTTP



MV_ATFRESP - Indica o código do usuário responsável pelo Ativo







Totvs custom tabs box items
defaultno
referenciastep8
  • CADASTRO DE USUÁRIO



No menu do configurador, acesse:


Usuário > Senhas > Usuários

Inclua ou altere um usuário informando o e-mail de aprovador no campo e-mail


...