Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
Informações
titleConsult the correct documentation:

This documentation refers to the new process editor of the platform. If you are using the current process editor, access Configure activities and flows

Section
Column
width75%

Índice
maxLevel3
exclude.*ndice

Column
width25%

Estado
subtletrue
titleLanguage

 PortugueseImage Added SpanishImage Added EnglishImage Added


Speaking of Subprocess component...

...

The Subprocess component represents a point in the process where another complete process, which is the subprocess, will be initiatedstarts. In other words, this component represents a set of grouped activities – that form a process – within a main or larger process, allowing encapsulation of this set of activities within a single component to facilitate the reading and maintenance of the main process diagram.

With the Subprocess component, it is possible to you can break down large and complex processes into smaller parts – subprocesses – improving the understanding comprehension of the steps, as it prevents the diagrams from becoming confusing, simplifying the modeling and management of the process as a whole.

It is You can also possible to reuse a workflow in multiple processes or at various points within the same process, which ensures consistency of the steps, minimizes errors, saves modeling time, and reduces the effort of configuring components.

...

If the main process flow allows for a return, when the request reaches the subprocess step, a new request will be opened opens in the subprocess, and the main process request will be is blocked until the subprocess request is completed. As soon as the subprocess request is completed, the main process request is sent back to the step prior to the subprocess, so it can continue in the main flow until its completion.

When using the Subprocess component, it is you can also possible to share information between the forms of the main process and the subprocess. More details are described in the topic Sending data between the process and the subprocess.

Painel
borderColor#ebecf0

Estado
subtletrue
titleEXAMPLE OF USE

In an Employee Registration process, the HR department does the first registration is done by the HR department in the in the company's people management system. After that, it is necessary you need to grant access to the internal tools that the employee will use in their daily activities. However, this is a responsibility of the IT department, which also needs the approval of the manager of the new employee to grant the accesses. In this case, the execution steps of the IT department can be a subprocess within the main employee registration process. The main process will send some employee data – such as name, area of expertise, tools they will use – to the subprocess, and the subprocess will return an email. After the IT steps are completed, HR needs to complete the registration with the email sent by IT.


Data

...

sending between the

...

process and the

...

subprocess

...

The Subprocess component allows you to share information to be shared between the main process and the subprocess, reducing the need to manually re-enter data. For this, it is necessary that both processes – the main one and the subprocess – must have a linked form, thus enabling the flow of information between the processes in a simple and transparent manner.

The definition of the sending and receiving of information between the processes are defined is based on the configuration of the fields in both forms, allowing you to specify which values should be shared to share and the direction of each:

  • main process subprocess: values will be are sent from the main process to the subprocess;
  • main process subprocess: values will be are sent from the subprocess to the main process.
Painel
borderColor#ebecf0

Estado
subtletrue
titleEXAMPLES OF VALUE DIRECTION

  • Send value from the main process form field (source) to the subprocess form field (destinationtarget): Name User Name;
  • Send value from the subprocess form field (source) to the main process form field field (destinationtarget): Name User Name;
  • Send and receive the value from the main process form field and the subprocess form field (both send and receive the value from each other): Name User Name.
Nota
titleImportant!

Each field can receive the value of only one field, ; that is, it is not allowed to you cannot configure the same field to receive values from more than one field.

Painel
borderColor#ebecf0

Estado
subtletrue
titleEXAMPLE

This configuration is not allowed:

  • First Name User's First Name
  • Last Name  User's Last Name

The User's First Name field of a subprocess cannot be configured to receive the values from the First Name and Last Name fields of the process, since, if this were allowed, the first second value received would be overwritten by overwrite the secondfirst.


View guided tour of the Subprocess component

...

Multimedia
namever-guia-subprocesso.mp4
width100%
pagePlataforma ❙ Subprocesso
autostarttrue
spacefluigautostarttrue
height5%

01. In the process diagram, click on the Subprocess component .

02. Na lateral direita, onde foram exibidas as configurações do componente, clique em Image Removed Guia de uso – localizado na parte inferior.

03. Veja a apresentação do recurso destacado.

On the right side, where the component settings are displayed, click Image Added Usage Guide – located at the bottom.

03. View the presentation of the highlighted feature.

04. Click Next to proceed to the presentation of the next feature04. Clique em Próximo para seguir para a apresentação do próximo recurso.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Quando há recursos anteriores, é possível clicar em Voltar para revê-losWhen there are previous features, you can click Back to review them.

05. Ao finalizar o tour guiado, clique em Concluir Upon finishing the guided tour, click Finish.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Se desejar, é possível clicar em Voltar para rever os recursos anteriores antes de concluir.

...

If you wish, you can click Back to review the previous features before finishing.


Configure Subprocess component

...

Multimedia
nameconfigurar-subprocesso.mp4
width100%
pagePlataforma ❙ Subprocesso
autostarttrue
spacefluig
height5%

01. In the process  diagram, click on the Subprocess component  que deseja configurar you want to configure.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

As configurações disponíveis são exibidas na lateral direitaThe available settings are displayed on the right side.

02. Na aba Geral, defina as informações gerais para o componente que representa outro processo dentro do processo principal In the General tab, define the general information for the component that represents another process within the main process.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Título
Nome da etapa que representa o início de outro processo dentro do processo principal. O nome também pode ser alterado diretamente no componente, clicando sobre seu nome atual e depois em EditarImage Removed– localizado no lado direitoTitle
Name of the step that represents the beginning of another process within the main process. You can also change the name directly on the component by clicking on its current name and then on EditImage Added– located on the right side.

Painel
borderColor#ebecf0

Estado
subtletrue
titleExemplo de uso
Em um processo de Compra de ativos para uma empresa, o componente poderia receber o nome Aprovação financeira, que são etapas de aprovação específicas da área financeira.
EXAMPLE

In an Asset Purchase process for a company, you could name the component Financial Approval, comprising the specific approval steps of the finance area.

Activity Instructions
Instructions aimed at making it easier to understand what happens in this step, which is a subprocess, such as data to be sent to the subprocess or data to be received from the subprocess. The Information tab of the request displays the instructionsInstruções para atividade
Instruções que visam facilitar o entendimento sobre o que acontece nessa etapa que é um subprocesso, tais como dados que serão enviados para o subprocesso ou dados que serão recebidos do subprocesso. As instruções são exibidas na aba Informações da solicitação.

Dica
titleDicaTip!

Ao preparar as instruções de uma etapa, é comum precisar buscar informações de outros documentos ou sites. A plataforma possui o conceito de hiperlink, que permite incluir um documento de instruções e também endereços da Internet por meio de documentos externos, ambos armazenados no recurso Documentos, evitando a replicação de informações e facilitando a navegação. Para isso, basta utilizar o formato When preparing the instructions for a step, it is common to need to search for information from other documents or websites. The platform has the concept of hyperlink, which allows you to include an instruction document as well as Internet addresses through external documents, both stored in the Documents resource, avoiding information replication and facilitating navigation. To do this, simply use the format [WD:codigodoc], substituindo codigodoc pelo código numérico do documento.

Processo
Processo que será incluído dentro do processo principal como um subprocesso. Qualquer processo existente na plataforma pode ser utilizado como um subprocesso dentro de outro processo. Porém, é necessário que ele possua, pelo menos, uma versão publicada.

Transferir anexos
Quando ativada, determina que todos os anexos adicionados na solicitação do processo principal serão copiados para a solicitação criada no subprocesso em questão. Porém, o contrário não ocorre, ou seja, anexos adicionados na solicitação do subprocesso não são copiados para a solicitação do processo principal. Essa opção somente é habilitada quando o processo principal já possui um formulário vinculado e já foi selecionado um processo que tenha, pelo menos, uma versão publicada, no campo Processo.

Cancelamento conjunto
Quando ativada, determina que, se a solicitação do processo principal for cancelada, a solicitação do subprocesso também será. Porém, o contrário não ocorre, ou seja, se a solicitação do subprocesso for cancelada, a solicitação do processo principal não será. Essa opção somente é habilitada quando o processo principal já possui um formulário vinculado e já foi selecionado um processo que tenha, pelo menos, uma versão publicada, no campo Processo.

Movimentar atividade
Quando ativada, determina que assim que a solicitação chegar na etapa que é o subprocesso, ele será iniciado imediatamente, sem a necessidade de acessar a Central de tarefas para isso. Ou seja, ao enviar a solicitação principal para o subprocesso, a primeira etapa do subprocesso – ou as primeiras, caso o fluxo do subprocesso seja alternativo – será exibida para seleção e definição do responsável por ela quando o tipo de atribuição permitir. Essa opção somente é habilitada quando o processo principal já possui um formulário vinculado e já foi selecionado um processo que tenha, pelo menos, uma versão publicada, no campo Processo.

03. Clique em Configurar campos para definir o compartilhamento de dados entre os formulários do processo principal e do subprocesso.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Essa opção somente é habilitada quando o processo principal já possui um formulário vinculado e já foi selecionado um processo que tenha, pelo menos, uma versão publicada, no campo Processo.

A configuração de campos permite definir quais valores devem ser compartilhados entre os formulários dos dois processos e qual a direção de cada um. É possível enviar dados do formulário do processo principal para o formulário do subprocesso e vice-versa. Mais detalhes podem ser obtidos em Envio de dados entre o processo e o subprocesso.

04. Clique em Adicionar Image Removed.

05. Na coluna Campos do processo, selecione o campo do formulário do processo principal que enviará ou receberá o valor do formulário do subprocesso – de acordo com o que for definido na coluna Direção.

replacing codigodoc with the numeric code of the document.

Process
Process to be included within the main process as a subprocess. You can use any existing process on the platform as a subprocess within another process. However, it must have at least one published version.

Transfer Attachments
When enabled, it determines that all attachments added to the main process request be copied to the request created in the subprocess at issue. However, the opposite does not occur, meaning that attachments added to the subprocess request are not copied to the main process request. This option is only enabled when the main process already has a linked form, and a process that has at least one published version is selected in the Process field.

Joint Cancellation
When activated, it determines that if the main process request is canceled, the subprocess request is also canceled. However, the opposite does not occur, meaning that if the subprocess request is canceled, the main process request is not. This option is only enabled when the main process already has a linked form and a process that has at least one published version has been selected in the Process field.

Move Activity
When activated, it determines that, as soon as the request reaches the step that is the subprocess, it starts immediately, with no need to access the Task Center. In other words, when sending the main request to the subprocess, the first step of the subprocess – or the first ones, if the subprocess flow is alternative – is displayed for selection and definition of the responsible party when the assignment type allows. This option is only enabled when the main process already has a linked form, and a process that has at least one published version is selected in the Process field.

03. Click Configure Fields to define the data sharing between the forms of the main process and the subprocess.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

This option is only enabled when the main process already has a linked form, and a process that has at least one published version is selected in the Process field.

The field configuration allows you to define which values to share between the forms of the two processes and the direction of each. You can send data from the main process form to the subprocess form and vice versa. Find more details at Data Sending between the Process and the Subprocess.

04. Click Add Image Added.

05. In the Process Fields column, select the field from the main process form to send or receive the value from the subprocess form – according to what is defined in the Direction column.

06. In the Direction column, define the direction of the value sharing for that field; that is, whether the field value should be sent to the subprocess or received from the subprocess06. Na coluna Direção, defina qual a direção do compartilhamento do valor desse campo, ou seja, se o valor do campo deve ser enviado para o subprocesso ou recebido do subprocesso.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Para alterar a direção, basta clicar sobre a flecha até que a direção desejada seja exibida.

As opções de direção são:

  • Image Removed Enviar o valor: o valor contido no campo selecionado do processo principal será enviado para o campo do subprocesso selecionado na coluna Campos do subprocesso.
  • Image Removed Receber o valor: o campo selecionado do processo principal receberá o valor do campo do subprocesso selecionado na coluna Campos do subprocesso.
  • Image Removed Enviar e receber o valor: o valor contido no campo selecionado do processo principal será enviado para o campo do subprocesso selecionado na coluna Campos do subprocesso e, posteriormente, o campo selecionado do processo principal receberá de volta o valor contido no campo do subprocesso selecionado na coluna Campos do subprocesso.

07. Na coluna Campos do subprocesso, selecione o campo do formulário do subprocesso que enviará ou receberá – de acordo com o que foi definido na coluna Direção – o valor do campo do formulário do processo principal que foi selecionado na coluna Campos do processo.

To change the direction, simply click the arrow until the desired direction is displayed.

The direction options are:

  • Image Added Send the value: the value contained in the selected field of the main process is sent to the field of the subprocess selected in the Subprocess Fields column.
  • Image Added Receive the value: the selected field of the main process receives the value from the field of the subprocess selected in the Subprocess Fields column.
  • Image Added Send and receive the value: the value contained in the selected field of the main process is sent to the field of the subprocess selected in the Subprocess Fields column and, subsequently, the selected field of the main process receives back the value contained in the field of the subprocess selected in the Subprocess Fields column.

07. In the Subprocess Fields column, select the field of the subprocess form that will send or receive – according to what is defined in the Direction column – the value from the field of the main process form that is selected in the Main Process Fields column.

08. Click Save Image Added – located on the right side08. Clique em Salvar Image Removed – localizado no lado direito.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Para desistir de adicionar o envio do valor entre os campos, basta clicar em CancelarImage Removed – localizado no lado direito – ao invés de Salvar Image Removed.

Na coluna Status é exibida a situação da relação de compartilhamento de valor entre os campos do formulário do processo principal e do subprocesso. Os indicativos são:

  • Image Removed → indica que o compartilhamento entre os campos está correto e funcional;
  • Image Removed → indica que há alguma inconsistência no compartilhamento entre os campos, como por exemplo, um campo foi alterado ou deixou de existir em um dos formulários.

É possível editar a relação entre os campos clicando em Editar Image Removed– localizado no lado direito – e alterando os itens desejados. Para remover a relação entre os campos adicionada, basta clicar em Remover Image Removed – também localizado no lado direito.

09. Ao concluir a configuração de todas as relações de compartilhamento entre os campos desejadas, clique em Salvar.

To cancel adding the value transfer between the fields, simply click CancelImage Added – located on the right side – instead of Save Image Added.

The Status column displays the status of the value sharing relationship between the fields of the main process form and the subprocess. The indicators are:

  • Image Added → indicates that the sharing between the fields is correct and functional;
  • Image Added → indicates that the sharing between the fields is inconsistent, such as a field being edited or no longer existing in one of the forms.

You can edit the relationship between the fields by clicking Edit Image Added– located on the right side – and changing the desired items. To remove the added relationship between the fields, simply click Remove Image Added – also located on the right side.

09. Once you have completed the configuration of all desired sharing relationships between the fields, click Save.

10. Click the Assignment tab to see who will be responsible for the request to be created in the subprocess10. Clique na aba Atribuição para ver quem será o responsável pela solicitação que será criada no subprocesso.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

A atribuição exibida é a que foi configurada na primeira etapa do subprocesso, ou seja, a solicitação que será aberta no subprocesso será enviada para o responsável de acordo com o tipo de atribuição definido no subprocesso.

11. Clique em Salvar rascunho – localizado no lado direito da barra superior – para salvar as configurações feitas no componente Subprocesso.

12. Na mensagem exibida, clique em Ok, entendi.

...

The displayed assignment is the one configured in the first step of the subprocess; that is, the request to be opened in the subprocess will be sent to the responsible party in accordance with the type of assignment defined in the subprocess.

11. Click Save draft – located on the right side of the top bar – to save the settings made in the Subprocess component.

12. In the displayed message, click Ok, I understand.


Configure data sharing between processes

...

Multimedia
nameconfigurar-envio-dados-subprocesso.mp4
width100%
autostarttrue
height5%

01. In the process diagram, click on the Subprocess component Image Removed para o qual deseja configurar o compartilhamento de dados entre os formulários do processo principal e do subprocesso.

02. Na aba Geral, clique em Configurar campos.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Essa opção somente é habilitada quando o processo principal já possui um formulário vinculado e já foi selecionado um processo que tenha, pelo menos, uma versão publicada, no campo Processo.

A configuração de campos permite definir quais valores devem ser compartilhados entre os formulários dos dois processos e qual a direção de cada um. É possível enviar dados do formulário do processo principal para o formulário do subprocesso e vice-versa. Mais detalhes podem ser obtidos em Envio de dados entre o processo e o subprocesso.

03. Clique em Adicionar Image Removed.

04. Na coluna Campos do processo, selecione o campo do formulário do processo principal que enviará ou receberá o valor do formulário do subprocesso – de acordo com o que for definido na coluna Direção.

pagePlataforma ❙ Subprocesso
autostarttrue
spacefluig
height5%

01. In the process diagram, click the Subprocess component Image Added for which you want to configure data sharing between the main process and subprocess forms.

02. In the General tab, click Configure fields.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

This option is only enabled when the main process already has a linked form, and a process with at least one published version is selected in the Process field.

The field configuration allows you to define which values to share between the forms of the two processes and the direction of each. You can send data from the main process form to the subprocess form and vice versa. Find more details at Sending data between the process and the subprocess.

03. Click Add Image Added.

04. In the Process fields column, select the field from the main process form to send or receive the value from the subprocess form – in accordance with what is defined in the Direction column.

05. In the Direction column, define the direction of the value sharing for that field; that is, whether the field value should be sent to the subprocess or received from the subprocess05. Na coluna Direção, defina qual a direção do compartilhamento do valor desse campo, ou seja, se o valor do campo deve ser enviado para o subprocesso ou recebido do subprocesso.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Para alterar a direção, basta clicar sobre a flecha até que a direção desejada seja exibida.

As opções de direção são:

  • Image Removed Enviar o valor: o valor contido no campo selecionado do processo principal será enviado para o campo do subprocesso selecionado na coluna Campos do subprocesso.
  • Image Removed Receber o valor: o campo selecionado do processo principal receberá o valor do campo do subprocesso selecionado na coluna Campos do subprocesso.
  • Image Removed Enviar e receber o valor: o valor contido no campo selecionado do processo principal será enviado para o campo do subprocesso selecionado na coluna Campos do subprocesso e, posteriormente, o campo selecionado do processo principal receberá de volta o valor contido no campo do subprocesso selecionado na coluna Campos do subprocesso.

06. Na coluna Campos do subprocesso, selecione o campo do formulário do subprocesso que enviará ou receberá – de acordo com o que foi definido na coluna Direção – o valor do campo do formulário do processo principal que foi selecionado na coluna Campos do processo.

To change the direction, simply click the arrow until the desired direction is displayed.

The direction options are:

  • Image Added Send the value: the value contained in the selected field of the main process is sent to the field of the subprocess selected in the Subprocess fields column.
  • Image Added Receive the value: the selected field of the main process receives the value from the field of the subprocess selected in the Subprocess fields column.
  • Image Added Send and receive the value: the value contained in the selected field of the main process is sent to the field of the subprocess selected in the Subprocess fields column and, subsequently, the selected field of the main process receives back the value contained in the field of the subprocess selected in the Subprocess fields column.

06. In the Subprocess Fields column, select the form field of the subprocess that will send or receive – according to what was defined in the Direction column – the value of the form field of the main process that was selected in the Main Process Fields column.

07. Click on Save Image Added – located on the right side07. Clique em Salvar Image Removed – localizado no lado direito.

Painel
borderColor#f2f2f2
bgColor#f2f2f2

Para desistir de adicionar a relação entre os campos, basta clicar em CancelarImage Removed – localizado no lado direito – ao invés de Salvar Image Removed.

Na coluna Status é exibida a situação da relação de compartilhamento de valor entre os campos do formulário do processo principal e do subprocesso. Os indicativos são:

  • Image Removed → indica que o compartilhamento entre os campos está correto e funcional;
  • Image Removed → indica que há alguma inconsistência no compartilhamento entre os campos, como por exemplo, um campo foi alterado ou deixou de existir em um dos formulários.

É possível editar a relação entre os campos clicando em Editar Image Removed– localizado no lado direito – e alterando os itens desejados. Para remover a relação entre os campos adicionada, basta clicar em Remover Image Removed – também localizado no lado direito.

08. Ao concluir a configuração de todas as relações de compartilhamento entre os campos desejadas, clique em Salvar.

09. Clique em Salvar rascunho – localizado no lado direito da barra superior – para salvar as alterações feitas no componente Subprocesso.

10. Na mensagem exibida, clique em Ok, entendi.

...

To cancel adding the relationship between the fields, simply click CancelImage Added – located on the right side – instead of SaveImage Added.

The Status column displays the status of the value sharing relationship between the form fields of the main process and the subprocess. The indicators are:

  • Image Added → indicates that the sharing between the fields is correct and functional;
  • Image Added → indicates that the sharing between the fields is inconsistent, such as a field being edited or no longer existing in one of the forms.

You can edit the relationship between the fields by clicking Edit Image Added– located on the right side – and changing the desired items. To remove the added relationship between the fields, simply click Remove Image Added – also located on the right side.

08. Once you have completed the configuration of all desired sharing relationships between the fields, click Save.

09. Click Save draft – located on the right side of the top bar – to save the changes made to the Subprocess component.

10. In the displayed message, click Ok, I understand.


Editing data submission between processes

...

Multimedia
nameeditar-envio-dados-subprocesso.mp4
width100%
pagePlataforma ❙ Subprocesso
autostarttrue
spacefluig
height5%

01. In the process  diagram, click on the Subprocess component  do qual deseja editar o compartilhamento de dados entre os formulários do processo principal e do subprocesso for which you want to edit the data sharing between the main process and subprocess forms.

02. Na aba Geral, clique em Configurar campos In the General tab, click Configure fields.

03. Localize a relação de campos que deseja editar Locate the field relationship you wish to edit.

04. Clique em Editar Image Removed– localizado no lado direito Click Edit Image Added– located on the right side.

05. Altere os itens desejados Change the desired items.

06. Clique em Salvar Image Removed – localizado no lado direito Click Save Image Added – located on the right side.

07. Ao concluir todas as alterações desejadas, clique em Salvar – localizado no canto inferior direito Once you have completed all desired changes, click Save – located in the bottom right corner.

08. Clique em Salvar rascunho – localizado no lado direito da barra superior – para salvar as alterações feitas no componente Subprocesso.

09. Na mensagem exibida, clique em Ok, entendi.

...

Click Save draft – located on the right side of the top bar – to save the changes made to the Subprocess component.

09. In the displayed message, click Ok, I understand.


Remove data sharing between processes

...

Multimedia
nameremover-envio-dados-subprocesso.mp4
width100%
pagePlataforma ❙ Subprocesso
autostarttrue
spacefluig
height5%

01. In the process diagram, click on the Subprocess component Image Removed do qual deseja remover o compartilhamento de dados entre os formulários do processo principal e do subprocesso.

02. Na aba Geral, clique em Configurar campos.

03. Localize a relação de campos que deseja remover.

04. Clique em Remover Image Removed– localizado no lado direito.

05. Na mensagem de confirmação exibida, clique em Confirmar para confirmar a remoção da relação de compartilhamento entre os campos.

06. Ao concluir todas as remoções desejadas, clique em Salvar – localizado no canto inferior direito.

07. Clique em Salvar rascunho – localizado no lado direito da barra superior – para salvar as alterações feitas no componente Subprocesso.

08. Na mensagem exibida, clique em Ok, entendi.

Dúvidas frequentes

. In the process diagram, click the Subprocess component Image Added from which you want to remove the data sharing between the main process forms and the subprocess.

02. In the General tab, click on Configure fields.

03. Locate the list of fields you want to remove.

04. Click RemoveImage Added– located on the right side.

05. In the confirmation message displayed, click Confirm to confirm the removal of the sharing relationship between the fields.

06. Once you have completed all desired removals, click Save – located in the lower right corner.

07. Click Save draft – located on the right side of the top bar – to save the changes made to the Subprocess component.

08. In the displayed message, click Ok, I understand.


Frequently asked questions

...

Check here some frequently asked questions about the Subprocess componentConfira aqui algumas dúvidas frequentes sobre o componente Subprocesso.

HTML
<script>
    (function() {
        function toggleAreas(isExpand, $parent) {
            var $items = $parent.find('.panel');

            $.each($items, function(idx, el) {
                var $arrow = $(el).find('span.cloakToggle').find('span');
                var $content = $(el).find('span.cloak');
                if (isExpand) {
                    $arrow.removeClass('cloakDefaultOpen').addClass('cloakDefaultClose');
                    $content.show();
                } else {
                    $arrow.addClass('cloakDefaultOpen').removeClass('cloakDefaultClose');
                    $content.hide();
                }
            });
        }

        $(document).on('click', '#toggleAll-3', function(ev) {
            ev.preventDefault();
            var isExpand = $(this).data('expand');
            var $parent = $(this).nextAll('.sectionColumnWrapper').first();
            toggleAreas(isExpand, $parent);
            $(this).data('expand', !isExpand);
        });
    })();
</script>
<a id="toggleAll-3" href="#" data-expand="true">Abrir>Open/fecharclose todasall as dúvidas<questions</a>
Section
Painel
borderColor#ebecf0

Toggle Cloak
id@saiba-mais-1

O componente Subprocesso pode impactar o desempenho do processo

Can the Subprocess component impact the performance of the process?

Cloak
id@saiba-mais-1

In general terms, the use of the Subprocess component does not significantly impact the performance or execution of a process.

What can impact it is the use of many subprocesses in a single process, very complex subprocesses, and those with many automated activities or external interactions – such as API calls.

Therefore, it is ideal to ensure that subprocesses are not excessively overloaded with complex activities

Em termos gerais, o uso do componente Subprocesso não impacta significativamente o desempenho ou a execução de um processo.

O que pode impactar é o uso de muitos subprocessos em um único processo, subprocessos muito complexos e com muitas atividades automáticas ou interações externas – como chamadas de API.

Portanto, o ideal é garantir que os subprocessos não sejam excessivamente sobrecarregados com atividades complexas.

Painel
borderColor#ebecf0

Toggle Cloak
id@saiba-mais-2

É possível reutilizar um subprocesso em diferentes partes do mesmo processo ou em outros processos

Can I reuse a subprocess in different parts of the same process or in other processes?

Cloak
id@saiba-mais-2

Sim. O objetivo do componente Subprocesso é justamente esse: permitir que processos sejam reutilizados em vários pontos de um mesmo processo ou em vários processos diferentes, tornando a modelagem mais eficiente e evitando a duplicação de atividades que sejam comuns em diversos processosYes. The purpose of the Subprocess component is precisely this: to allow processes to be reused at various points within the same process or across different processes, making modeling more efficient and avoiding the duplication of activities that are common in several processes.

Painel
borderColor#ebecf0

Toggle Cloak
id@saiba-mais-3

 O que acontece se um subprocesso falhar ou retornar uma reprovação

What happens if a subprocess fails or returns a rejection?

Cloak
id@saiba-mais-3

If no alternative path is configured, the main process may get stuck if the subprocess encounters a failure or a rejection.

Therefore, it is extremely important to configure error capture events to handle exceptions within the subprocess – which will redirect the process to a correction or notification step – and exception flows with conditional decisions – which will redirect the process to another path or finalize the request with a notification about the failure.

Ensuring that the subprocess has well-defined exception flows prevents the main process from being impacted by a failure or rejection

Se nenhum caminho alternativo foi configurado, é possível que o processo principal fique travado se o subprocesso apresentar uma falha ou uma reprovação.

Por isso, é extremamente importante configurar eventos de captura de erros para tratar exceções dentro do subprocesso – que redirecionarão o processo para uma etapa de correção ou notificação – e fluxos de exceção com decisões condicionais – que redirecionarão o processo por um outro caminho ou finalizam a solicitação com uma notificação sobre a falha. 

Certificar-se de que o subprocesso tenha fluxos de exceção bem definidos evitará com que o processo principal seja impactado por uma falha ou recusa.

Painel
borderColor#ebecf0

Toggle Cloak
id@saiba-mais-4

O subprocesso pode ter atribuições e responsáveis diferentes do processo principal

Can the subprocess have different assignments and responsible parties from the main process?

Cloak
id@saiba-mais-4

Yes. The subprocess is nothing more than a process that has been included within the main process and has its own set of participants – such as users, groups, and roles – which can be different – or the same – as those in the main process.

This allows responsibilities to be delegated in accordance with what makes sense for the subprocess, facilitating task distribution and monitoring within a broader process, which is the main process

Sim. O subprocesso nada mais é do que um processo que foi incluído dentro do processo principal e que possui o seu próprio conjunto de participantes – como usuários, grupos e papéis – que podem ser diferentes – ou os mesmos – do processo principal.

Isso permite que as responsabilidades sejam delegadas de acordo com o que faz sentido para o subprocesso, facilitando a distribuição de tarefas e o acompanhamento dentro de um processo mais amplo que é o processo principal.

Painel
borderColor#ebecf0

Toggle Cloak
id@saiba-mais-5

O que acontece se um campo de um dos formulários configurado para compartilhar dados for alterado ou excluído

What happens if you edit or delete a field in one of the forms configured to share data?

Cloak
id@saiba-mais-5

Um alerta informando que há inconsistência no relacionamento dos campos será exibido na coluna Status da Configuração de campos. Neste caso, basta ajustar o campo em questão no formulário para que o compartilhamento de dados volte a funcionar corretamenteAn alert notifying that an inconsistency exists in the relationship of the fields is displayed in the Status column of the Field Configuration. In this case, simply adjust the field at issue in the form so that the data sharing works correctly again.

Informações
titleAttention!

This documentation is valid from the   Voyager update (2.0) update onwards. If you are using a previous update, it may contain information different from what you see on your platform.



HTML
<!-- Hotjar Tracking Code for http://tdn.totvs.com/display/fb -->
<script>
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:1280165,hjsv:6};
        a=o.getElementsByTagName('head')[0];
        r=o.createElement('script');r.async=1;
        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
        a.appendChild(r);
    })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>