...
Totvs custom tabs box |
---|
tabs | Step 01, Step 02, Step 03, Step 04, Step 05, Step 06, Step 07, Step 08 |
---|
ids | step1,step2,step3,step4,step5,step6,step7,step8 |
---|
|
Totvs custom tabs box items |
---|
default | yes |
---|
referencia | step1 |
---|
| 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] ![](/download/attachments/780021653/image2020-6-25_11-43-2.png?version=1&modificationDate=1690552127590&api=v2)
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 ![](/download/attachments/780021653/image2020-6-25_11-51-29.png?version=1&modificationDate=1690552127780&api=v2)
Send Messages Enter the SMTP port and server, as well as the account to be used for sending the contingency approvals.
![](/download/attachments/780021653/image2020-6-25_11-53-24.png?version=1&modificationDate=1690552128147&api=v2)
|
Totvs custom tabs box items |
---|
| In the configurator menu, access: Environment > Workflow > Workflow Processes
Add a workflow process.
![](/download/attachments/780021653/image2020-6-25_13-55-19.png?version=1&modificationDate=1690552128370&api=v2)
|
Totvs custom tabs box items |
---|
| In the configurator menu, access: Environment > Workflow > Workflow Status Add a workflow status, linking the process added in the previous step
![](/download/attachments/780021653/image2020-6-25_14-3-28.png?version=1&modificationDate=1690552128493&api=v2)
|
Totvs custom tabs box items |
---|
| 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:
![](/download/attachments/780021653/image2020-6-25_14-8-47.png?version=1&modificationDate=1690552128673&api=v2) Processes
![](/download/attachments/780021653/image2020-6-25_14-18-22.png?version=1&modificationDate=1690552128880&api=v2)
Notification
![](/download/attachments/780021653/image2020-6-25_14-18-46.png?version=1&modificationDate=1690552129097&api=v2)
Messenger
Informações |
---|
| It is important to enter the workflow's web service address in the field Server. |
![](/download/attachments/780021653/image2020-6-25_14-19-43.png?version=1&modificationDate=1690552129317&api=v2)
|
Totvs custom tabs box items |
---|
| In the configurator menu, access:
Environment > E-mail/Proxy > Settings Enter the e-mail server data
![](/download/attachments/780021653/image2020-6-25_14-46-23.png?version=1&modificationDate=1690552129480&api=v2)
![](/download/attachments/780021653/image2020-6-25_14-50-11.png?version=1&modificationDate=1690552129680&api=v2)
![](/download/attachments/780021653/image2020-6-25_14-50-28.png?version=1&modificationDate=1690552129800&api=v2)
![](/download/attachments/780021653/image2020-6-25_14-50-53.png?version=1&modificationDate=1690552129943&api=v2)
Configuring the web service: Access the SRVWIZARD: ![](/download/attachments/780021653/image2020-10-2_17-20-42.png?version=1&modificationDate=1690552130083&api=v2)
Select the folder Web Modules and click Add Fill out the fields on the screen as shown: ![](/download/attachments/780021653/image2020-10-2_17-22-10.png?version=1&modificationDate=1690552130217&api=v2)
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. ![](/download/attachments/780021653/image2020-10-2_17-23-25.png?version=1&modificationDate=1690552130353&api=v2)
Configure the minimum and the maximum number of users that will access the web service and click Confirm:
![](/download/attachments/780021653/image2020-10-2_17-24-17.png?version=1&modificationDate=1690552130493&api=v2)
|
Totvs custom tabs box items |
---|
| - 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 |
---|
| 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 ![](/download/attachments/780021653/image2020-10-1_19-21-57.png?version=1&modificationDate=1690552130630&api=v2)
MV_PRELAN - Generate pre-entry in accounting
![](/download/attachments/780021653/image2020-10-1_19-24-2.png?version=1&modificationDate=1690552130743&api=v2)
MV_ALTLCTO - Permite alterar lançamento contábil de integração
![](/download/attachments/780021653/image2020-10-1_19-25-34.png?version=1&modificationDate=1690552130880&api=v2)
MV_ATFHTTP - Diretório do servidor HTTP
![](/download/attachments/780021653/image2020-10-1_19-27-47.png?version=1&modificationDate=1690552131003&api=v2)
MV_ATFWBX - Ativa envio de workflow na solicitação de baixa/transferência
![](/download/attachments/780021653/image2020-10-1_19-29-56.png?version=1&modificationDate=1690552131137&api=v2)
MV_ATFWFM= Indica se deve ser gerado WF para solicitações ![](/download/attachments/780021653/image2020-10-1_19-42-32.png?version=1&modificationDate=1690552131290&api=v2)
MV_ATFASTR - Arquivo HTML de modelo da aprovação da solicitação
![](/download/attachments/780021653/image2020-10-1_19-32-23.png?version=1&modificationDate=1690552131453&api=v2)
MV_ATFASBX - Arquivo HTML de modelo de solicitação de baixa ![](/download/attachments/780021653/image2020-10-1_19-56-50.png?version=1&modificationDate=1690552131610&api=v2)
MV_ATFAAPS - Arquivo HTML de modelo da solicitação de transferência de ativo
![](/download/attachments/780021653/image2020-10-1_19-34-36.png?version=1&modificationDate=1690552131760&api=v2)
MV_ATFURL - URL do serviço HTTP
![](/download/attachments/780021653/image2020-10-1_19-37-35.png?version=1&modificationDate=1690552131953&api=v2)
MV_ATFRESP - Indica o código do usuário responsável pelo Ativo ![](/download/attachments/780021653/image2020-10-1_19-53-4.png?version=1&modificationDate=1690552132087&api=v2)
|
Totvs custom tabs box items |
---|
|
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
![](/download/attachments/780021653/image2020-6-25_16-33-18.png?version=1&modificationDate=1690552132273&api=v2)
|
|
04. UTILIZAÇÃO DA SOLICITAÇÃO DE TRANSFERÊNCIA VIA WORKFLOW
No menu do módulo Ativo Fixo (SIGAATF), acesse:
...