Flow / Power Automate - Add Conditional “Switch” Actions in Power Automate Tutorial

Learn how to create conditional 'switch' actions in Power Automate to generate sequences of actions based on specific cases. Avoid the nesting of multiple if conditional blocks and efficiently sort files into different folders based on their extension. Configure automated flows, isolate file extensions using Power FX language, and define specific actions for each case. Test and verify the functionality to ensure a seamless workflow. Explore this fully functional switch condition usage example now!

  • 03:58
  • 248 views

Objectifs :

This tutorial aims to guide users in creating a conditional switch action in SharePoint to automate file sorting based on file extensions. By the end of this tutorial, users will be able to set up an automated flow that efficiently organizes files into designated folders without the need for complex nested conditional blocks.


Chapitres :

  1. Introduction to Conditional Actions
    In this section, we will explore the concept of conditional actions, specifically the switch type, which allows for the generation of sequences of actions based on specific cases. This method simplifies the process by avoiding the nesting of multiple 'if' conditional blocks.
  2. Setting Up the Automated Flow
    To illustrate the use of a conditional switch, we will use the example of sorting files deposited in a team's folder based on their extensions. The goal is to sort files such as Word, Excel, and PowerPoint into their respective folders. Begin by configuring the automated flow using a SharePoint trigger that activates upon the creation of a file.
  3. Configuring SharePoint Trigger
    1. Select the target team and the relevant document library. 2. Limit the monitoring to a specific folder by checking the 'restrict to folder' option in the advanced settings. 3. Specify the concerned folder for file sorting.
  4. Isolating File Extensions
    To test the file extension, include a function in Power FX language that isolates the extension. Although another tutorial covers the basics of Power FX in more detail, you can find the message action in the predefined actions. In the data operation category, use the FX button to paste the isolation function.
  5. Retrieving File Metadata
    Next, retrieve the file's metadata, particularly the access path, which will be used to move the file. Specify the team containing the monitored folder and point to the deposited file to retrieve its metadata. Add dynamic content by identifying the file using the identifier field associated with it.
  6. Creating Conditional Switch Actions
    Now, generate actions based on the file type by adding an action from the control category and choosing the conditional switch action. The isolated file extension will allow you to process all specific cases. Test the element to be evaluated, which is the output of your message containing the file extension.
  7. Defining Actions for Each File Type
    1. Add a specific case for PowerPoint files (PTX) and a SharePoint file move action, specifying the site or team's address. 2. Reference the file dynamically by its path retrieved from the 'get file metadata' action and specify the destination, such as a subfolder named 'PowerPoint'. 3. Define the default action for files with the same name and set a move with a new name. 4. Repeat this procedure for each file type: XLX for Excel and DOCX for Word, renaming your cases for clarity.
  8. Handling Unmatched File Extensions
    For the default case, define actions if the file extension does not match any previously processed cases, for example, moving it to an 'others' folder.
  9. Finalizing the Flow
    Finally, add a message posting action to the team after the conditional block, which will execute regardless of the processed case. Specify that a file has been added to a specific folder using dynamic content. Save and test your flow.
  10. Testing the Flow
    Upload a file from Teams, such as a PowerPoint presentation, and verify that the file is moved to the correct folder and that the team message is posted accurately. Repeat the process with a PDF file to ensure the flow works perfectly.
  11. Conclusion
    This tutorial provides a comprehensive example of using a fully functional switch condition in SharePoint. By following these steps, users can automate file sorting efficiently, enhancing productivity and organization within their teams.

FAQ :

What is a conditional action in SharePoint?

A conditional action in SharePoint allows you to automate workflows by executing specific actions based on defined conditions, such as the type of file uploaded.

How do I create a switch type conditional action?

To create a switch type conditional action, you need to define the variable to evaluate, add specific cases for each possible value, and specify the actions to take for each case.

What are file extensions and why are they important?

File extensions are suffixes that indicate the file type, such as .docx for Word documents. They are important because they determine how files are handled and which applications can open them.

How can I test my automated flow in SharePoint?

You can test your automated flow by uploading a file to the specified folder and verifying that the file is processed correctly according to the defined actions, such as being moved to the appropriate folder.

What should I do if my flow doesn't work as expected?

If your flow doesn't work as expected, check the conditions and actions defined in your workflow, ensure that the file extensions are correctly specified, and review any error messages for troubleshooting.


Quelques cas d'usages :

Automating File Organization in Teams

In a corporate environment, a team can use a conditional action to automatically sort files uploaded to a shared folder based on their extensions. For example, PowerPoint presentations can be moved to a designated 'PowerPoint' folder, while Excel files are sorted into an 'Excel' folder, improving organization and accessibility.

Streamlining Document Management

A project manager can implement a switch type conditional action to manage project documents efficiently. By sorting files into specific folders based on their types, the team can easily locate necessary documents, enhancing productivity and reducing time spent searching for files.

Ensuring Compliance with File Types

In a regulated industry, a compliance officer can set up a flow that checks file extensions before allowing uploads. If a file type does not meet compliance standards, it can be automatically redirected to a review folder, ensuring that only approved file types are stored.

Improving Team Communication

After implementing a conditional action, a team can automatically post messages in a channel whenever a file is added to a specific folder. This keeps all team members informed about new documents and enhances collaboration.


Glossaire :

conditional action

An action that is executed based on specific conditions being met, allowing for dynamic decision-making in workflows.

switch type

A control structure that allows the execution of different actions based on the value of a variable, simplifying complex conditional logic.

file extension

The suffix at the end of a file name that indicates the file type, such as .docx for Word documents or .xlsx for Excel spreadsheets.

SharePoint

A web-based collaboration platform from Microsoft that integrates with Microsoft Office, used for storing, organizing, sharing, and accessing information.

Power FX

A low-code programming language used in Microsoft Power Platform to create custom logic and expressions.

metadata

Data that provides information about other data, such as the properties of a file, including its name, type, and access path.

dynamic content

Content that can change based on user input or other variables, often used in automated workflows to personalize messages or actions.

default action

An action that is executed when none of the specified conditions are met, serving as a fallback option.

00:00:07
which allows you to generate sequences of actions based on specific cases.
00:00:11
Thus avoiding the nesting of multiple if conditional blocks
00:00:16
to illustrate this.
00:00:17
Let's take the example of a file deposited in a team's team folder
00:00:21
which depending on its extension will need to be sorted into different folders,
00:00:25
word Excel, powerpoint, as well as in others folder
00:00:30
begin by configuring this automated flow using a SharePoint
00:00:34
trigger based on the creation of a file.
00:00:42
Select the target team as well as the relevant library.
00:00:47
In this specific case,
00:00:49
limit the monitoring to a specific folder by checking
00:00:52
the restrict to folder option in the advanced settings.
00:00:55
Then specify the concerned folder. In this example, file sorting
00:01:01
to test the file extension include a function
00:01:03
in power FX language that isolates this extension.
00:01:07
Another tutorial covers the basics of power FX in more detail.
00:01:11
But here look for the message action in the predefined actions.
00:01:14
Then in the data operation category,
00:01:17
use the FX button to paste the isolation function.
00:01:23
The next step is to retrieve the file's metadata,
00:01:26
particularly the access path which will be used in the process of moving the file.
00:01:32
Once the team's team containing the monitored folder is specified
00:01:35
point to the deposited file to retrieve the metadata.
00:01:38
To do this, add the dynamic content,
00:01:40
identifying the file using the identifier field associated with the file.
00:01:46
You can now generate your actions according to the file type by adding
00:01:50
an action from the control category and choosing the conditional switch action.
00:01:54
It is from the isolated file extension that you can process all specific cases.
00:02:00
Test the element to be evaluated,
00:02:01
which is the output of your message containing the file extension.
00:02:05
Then add a specific case for powerpoint files, PTX
00:02:11
and a SharePoint file move action
00:02:16
specifying the site or team's team address,
00:02:19
reference the file by its path dynamically
00:02:22
retrieved from the get file metadata action
00:02:24
specify the destination
00:02:27
here a sub folder named powerpoint.
00:02:30
In the same library,
00:02:31
you can also define the default action in case of a file
00:02:34
with the same name and set a move with a new name.
00:02:38
Repeat this procedure for each type of extension
00:02:41
XL X for Excel and doc X for word rename your
00:02:45
cases for clarity by changing the labels for each case,
00:02:48
add the file move action in the
00:02:50
same manner indicating the appropriate target folder
00:02:53
for the default case,
00:02:54
define the actions if the file extension does not match
00:02:58
any of the previously processed cases using for example,
00:03:01
in others folder,
00:03:03
finally add a team's message posting action after the conditional block,
00:03:07
which will execute regardless of the processed case
00:03:15
specify that a file has been added to a specific folder using the dynamic contents
00:03:27
save and test your flow.
00:03:30
Upload a file from teams, for example,
00:03:33
a powerpoint presentation and verify that the
00:03:35
file is properly moved to the right place
00:03:40
and that the team's message is correctly posted,
00:03:44
repeat with a PDF file to ensure your flow works perfectly. For all cases.
00:03:52
There, you have an example of a fully functional switch condition usage.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
Tem a possibilidade de criar uma ação condicional do tipo switch
00:00:07
que permite gerar sequências de ações com base em casos específicos.
00:00:11
Evitando assim o aninhamento de blocos múltiplos se condicionais
00:00:16
para ilustrar isso.
00:00:17
Vejamos o exemplo de um ficheiro depositado na pasta da equipa de uma equipa
00:00:21
que, dependendo da sua extensão, terá de ser ordenada em pastas diferentes,
00:00:25
Word Excel, powerpoint, bem como em outras pastas
00:00:30
começar por configurar este fluxo automatizado utilizando um SharePoint
00:00:34
gatilho com base na criação de um ficheiro.
00:00:42
Seleccione a equipa alvo, bem como a biblioteca relevante.
00:00:47
Neste caso específico,
00:00:49
limitar a monitorização a uma pasta específica verificando
00:00:52
a opção restringir à pasta nas definições avançadas.
00:00:55
Em seguida, especifique a pasta em questão. Neste exemplo, ordenação de ficheiros
00:01:01
para testar a extensão do ficheiro incluir uma função
00:01:03
em linguagem power FX que isola esta extensão.
00:01:07
Outro tutorial aborda os fundamentos do Power FX em mais detalhes.
00:01:11
Mas aqui procurem a ação da mensagem nas ações predefinidas.
00:01:14
Depois, na categoria de operação de dados,
00:01:17
use o botão FX para colar a função de isolamento.
00:01:23
O passo seguinte é recuperar os metadados do ficheiro,
00:01:26
particularmente o caminho de acesso que será utilizado no processo de movimentação do ficheiro.
00:01:32
Uma vez que a equipa da equipa que contém a pasta monitorizada é especificada
00:01:35
apontar para o ficheiro depositado para recuperar os metadados.
00:01:38
Para isso, adicione o conteúdo dinâmico,
00:01:40
identificar o ficheiro utilizando o campo identificador associado ao ficheiro.
00:01:46
Agora pode gerar as suas ações de acordo com o tipo de ficheiro adicionando
00:01:50
uma acção da categoria de controlo e escolha da acção de comutação condicional.
00:01:54
É a partir da extensão de ficheiro isolada que pode processar todos os casos específicos.
00:02:00
Ensaio do elemento a avaliar,
00:02:01
que é a saída da sua mensagem que contém a extensão do ficheiro.
00:02:05
Em seguida, adicione um caso específico para ficheiros do PowerPoint, PTX
00:02:11
e uma ação de movimentação de ficheiros do SharePoint
00:02:16
especificando o local ou o endereço da equipa da equipa,
00:02:19
referenciar o ficheiro pelo seu caminho dinamicamente
00:02:22
recuperado da acção de obter metadados do ficheiro
00:02:24
especificar o destino
00:02:27
aqui uma subpasta chamada powerpoint.
00:02:30
Na mesma biblioteca,
00:02:31
pode também definir a acção predefinida no caso de um ficheiro
00:02:34
com o mesmo nome e defina um movimento com um novo nome.
00:02:38
Repetir este procedimento para cada tipo de extensão
00:02:41
XL X para Excel e doc X para word renomeie o seu
00:02:45
casos para maior clareza, alterando os rótulos de cada caso,
00:02:48
adicione a ação de movimentação de arquivo no
00:02:50
da mesma maneira indicando a pasta de destino apropriada
00:02:53
para o caso predefinido,
00:02:54
definir as ações se a extensão do ficheiro não corresponder
00:02:58
qualquer um dos casos tratados anteriormente utilizando, por exemplo,
00:03:01
noutra pasta,
00:03:03
finalmente adicionar a ação de publicação de mensagens de uma equipa após o bloqueio condicional,
00:03:07
que será executado independentemente do caso processado
00:03:15
especificar que um ficheiro foi adicionado a uma pasta específica utilizando o conteúdo dinâmico
00:03:27
salve e teste o seu fluxo.
00:03:30
Carregar um ficheiro de equipas, por exemplo,
00:03:33
uma apresentação em powerpoint e verifique se o
00:03:35
o ficheiro foi movido correctamente para o sítio certo
00:03:40
e que a mensagem da equipa está correctamente publicada,
00:03:44
repita com um ficheiro PDF para garantir que o seu fluxo funcione perfeitamente. Para todos os casos.
00:03:52
Lá, tem um exemplo de uma utilização de condição de comutação totalmente funcional.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
Hai la possibilità di creare un'azione condizionale del tipo di interruttore
00:00:07
che consente di generare sequenze di azioni basate su casi specifici.
00:00:11
Evitando così l'annidamento di più blocchi se condizionali
00:00:16
per illustrare questo.
00:00:17
Prendiamo l'esempio di un file depositato nella cartella del team di un team
00:00:21
che a seconda della sua estensione dovrà essere ordinato in diverse cartelle,
00:00:25
word Excel, powerpoint e in altre cartelle
00:00:30
inizia configurando questo flusso automatico usando SharePoint
00:00:34
trigger basato sulla creazione di un file.
00:00:42
Seleziona il team di destinazione e la libreria pertinente.
00:00:47
In questo caso specifico,
00:00:49
limita il monitoraggio a una cartella specifica selezionando
00:00:52
l'opzione limita alla cartella nelle impostazioni avanzate.
00:00:55
Quindi specifica la cartella interessata. In questo esempio, l'ordinamento dei file
00:01:01
per testare l'estensione del file includi una funzione
00:01:03
in un linguaggio power FX che isola questa estensione.
00:01:07
Un altro tutorial tratta le basi di power FX in modo più dettagliato.
00:01:11
Ma qui cerca l'azione del messaggio nelle azioni predefinite.
00:01:14
Quindi, nella categoria delle operazioni sui dati,
00:01:17
usa il pulsante FX per incollare la funzione di isolamento.
00:01:23
Il passo successivo è recuperare i metadati del file,
00:01:26
in particolare il percorso di accesso che verrà utilizzato nel processo di spostamento del file.
00:01:32
Una volta specificato il team del team contenente la cartella monitorata
00:01:35
punta sul file depositato per recuperare i metadati.
00:01:38
Per fare ciò, aggiungi il contenuto dinamico,
00:01:40
identificando il file utilizzando il campo identificativo associato al file.
00:01:46
Ora puoi generare le tue azioni in base al tipo di file aggiungendo
00:01:50
un'azione dalla categoria di controllo e scegliendo l'azione di commutazione condizionale.
00:01:54
È dall'estensione del file isolata che è possibile elaborare tutti i casi specifici.
00:02:00
Prova l'elemento da valutare,
00:02:01
che è l'output del messaggio contenente l'estensione del file.
00:02:05
Quindi aggiungi un caso specifico per i file powerpoint, PTX
00:02:11
e un'azione di spostamento di file SharePoint
00:02:16
specificando l'indirizzo del sito o del team,
00:02:19
fare riferimento al file in base al relativo percorso in modo dinamico
00:02:22
recuperato dall'azione di metadati get file
00:02:24
specificare la destinazione
00:02:27
qui una sottocartella denominata powerpoint.
00:02:30
Nella stessa libreria,
00:02:31
puoi anche definire l'azione predefinita nel caso di un file
00:02:34
con lo stesso nome e imposta una mossa con un nuovo nome.
00:02:38
Ripetere questa procedura per ogni tipo di estensione
00:02:41
XL X per Excel e doc X per word rinomina il tuo
00:02:45
aumenta la chiarezza cambiando le etichette per ciascun caso,
00:02:48
aggiungi l'azione di spostamento del file nel
00:02:50
nello stesso modo indicando la cartella di destinazione appropriata
00:02:53
per il caso predefinito,
00:02:54
definire le azioni se l'estensione del file non corrisponde
00:02:58
uno qualsiasi dei casi precedentemente elaborati utilizzando, ad esempio,
00:03:01
in altre cartelle,
00:03:03
aggiungi infine l'azione di pubblicazione dei messaggi di un team dopo il blocco condizionale,
00:03:07
che verrà eseguito indipendentemente dal caso elaborato
00:03:15
specificare che un file è stato aggiunto a una cartella specifica utilizzando i contenuti dinamici
00:03:27
salva e testa il flusso.
00:03:30
Carica un file dai team, ad esempio
00:03:33
una presentazione in powerpoint e verifica che
00:03:35
il file viene spostato correttamente nel posto giusto
00:03:40
e che il messaggio del team sia pubblicato correttamente,
00:03:44
ripeti con un file PDF per assicurarti che il flusso funzioni perfettamente. Per tutti i casi.
00:03:52
Ecco un esempio di utilizzo di uno switch condition completamente funzionante.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
У вас есть возможность создать условное действие типа переключателя
00:00:07
который позволяет генерировать последовательности действий на основе конкретных случаев.
00:00:11
Таким образом можно избежать вложения нескольких условных блоков if
00:00:16
чтобы проиллюстрировать это.
00:00:17
Давайте рассмотрим пример файла, хранящегося в папке рабочей группы
00:00:21
который в зависимости от расширения нужно будет отсортировать по разным папкам,
00:00:25
Word Excel, powerpoint, а также в папке «Другие»
00:00:30
начните с настройки этого автоматизированного потока с помощью SharePoint
00:00:34
триггер, основанный на создании файла.
00:00:42
Выберите целевую группу, а также соответствующую библиотеку.
00:00:47
В данном конкретном случае
00:00:49
ограничьте мониторинг определенной папкой, поставив галочку
00:00:52
опция «Ограничить папку» в дополнительных настройках.
00:00:55
Затем укажите соответствующую папку. В этом примере сортировка файлов
00:01:01
для проверки расширения файла включите функцию
00:01:03
на языке Power FX, изолирующем это расширение.
00:01:07
В другом учебном пособии более подробно рассматриваются основы power FX.
00:01:11
Но здесь ищите действие с сообщением в предопределенных действиях.
00:01:14
Затем в категории «Операции с данными»
00:01:17
используйте кнопку FX, чтобы вставить функцию изоляции.
00:01:23
Следующий шаг — получение метаданных файла,
00:01:26
в частности путь доступа, который будет использоваться в процессе перемещения файла.
00:01:32
Как только команда команды, содержащая отслеживаемую папку, будет указана
00:01:35
наведите курсор на сохраненный файл, чтобы получить метаданные.
00:01:38
Для этого добавьте динамический контент,
00:01:40
идентификация файла с помощью поля идентификатора, связанного с файлом.
00:01:46
Теперь вы можете сгенерировать свои действия в соответствии с типом файла, добавив
00:01:50
действие из категории элементов управления и выбор действия условного переключения.
00:01:54
Именно с помощью изолированного расширения файла вы можете обрабатывать все конкретные случаи.
00:02:00
Проверьте элемент, подлежащий оценке,
00:02:01
который является результатом вашего сообщения, содержащего расширение файла.
00:02:05
Затем добавьте специальный кейс для файлов PowerPoint, PTX
00:02:11
и действие по перемещению файлов SharePoint
00:02:16
указание адреса сайта или рабочей группы,
00:02:19
динамически ссылайтесь на файл по пути
00:02:22
получено в результате действия «Получить метаданные файла»
00:02:24
укажите место назначения
00:02:27
здесь подпапка с именем powerpoint.
00:02:30
В той же библиотеке
00:02:31
вы также можете определить действие по умолчанию для файла
00:02:34
с тем же именем и задайте ход под новым именем.
00:02:38
Повторите эту процедуру для каждого типа расширения
00:02:41
XL X для Excel и doc X для Word переименуйте свой
00:02:45
для наглядности, изменив надписи для каждого футляра,
00:02:48
добавьте действие перемещения файла в поле
00:02:50
таким же образом указав соответствующую целевую папку
00:02:53
для случая по умолчанию
00:02:54
определите действия, если расширение файла не совпадает
00:02:58
любой из ранее обработанных дел, используя, например,
00:03:01
в папке «Другие»,
00:03:03
наконец, добавьте действие по публикации сообщений команды после условного блока,
00:03:07
которое будет выполнено независимо от рассмотренного дела
00:03:15
укажите, что файл был добавлен в определенную папку с использованием динамического содержимого
00:03:27
сохраните и протестируйте свой поток.
00:03:30
Например, загрузите файл из команд
00:03:33
презентацию в формате powerpoint и убедитесь, что
00:03:35
файл правильно перемещен в нужное место
00:03:40
и что сообщение команды правильно опубликовано,
00:03:44
повторите это с PDF-файлом, чтобы убедиться, что процесс работает безупречно. Для всех случаев.
00:03:52
Вот вам пример использования полнофункционального коммутатора в состоянии.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
Tiene la posibilidad de crear una acción condicional del tipo switch
00:00:07
que permite generar secuencias de acciones basadas en casos específicos.
00:00:11
Evitando así el anidamiento de múltiples bloques aunque sean condicionales
00:00:16
para ilustrar esto.
00:00:17
Tomemos el ejemplo de un archivo depositado en la carpeta del equipo de un equipo
00:00:21
que, según su extensión, tendrá que clasificarse en diferentes carpetas,
00:00:25
Word, Excel, PowerPoint, así como en otras carpetas
00:00:30
comience por configurar este flujo automatizado mediante un SharePoint
00:00:34
se activa en función de la creación de un archivo.
00:00:42
Seleccione el equipo objetivo y la biblioteca correspondiente.
00:00:47
En este caso específico,
00:00:49
limite la supervisión a una carpeta específica marcando
00:00:52
la opción de restringir a una carpeta en la configuración avanzada.
00:00:55
A continuación, especifique la carpeta en cuestión. En este ejemplo, clasificación de archivos
00:01:01
para probar la extensión del archivo, incluya una función
00:01:03
en el lenguaje Power FX que aísla esta extensión.
00:01:07
Otro tutorial cubre los conceptos básicos de Power FX con más detalle.
00:01:11
Pero aquí busca la acción del mensaje en las acciones predefinidas.
00:01:14
Luego, en la categoría de operación de datos,
00:01:17
utilice el botón FX para pegar la función de aislamiento.
00:01:23
El siguiente paso es recuperar los metadatos del archivo,
00:01:26
en particular la ruta de acceso que se utilizará en el proceso de mover el archivo.
00:01:32
Una vez que se especifique el equipo del equipo que contiene la carpeta monitoreada
00:01:35
señale el archivo depositado para recuperar los metadatos.
00:01:38
Para ello, añada el contenido dinámico,
00:01:40
identificar el archivo mediante el campo identificador asociado al archivo.
00:01:46
Ahora puede generar sus acciones según el tipo de archivo añadiendo
00:01:50
una acción de la categoría de control y seleccionando la acción de cambio condicional.
00:01:54
Es a partir de la extensión de archivo aislada que puede procesar todos los casos específicos.
00:02:00
Pruebe el elemento que se va a evaluar,
00:02:01
que es el resultado de su mensaje que contiene la extensión del archivo.
00:02:05
A continuación, añada un caso específico para los archivos de PowerPoint, PTX
00:02:11
y una acción de traslado de archivos de SharePoint
00:02:16
especificar la dirección del sitio o del equipo,
00:02:19
hacer referencia al archivo por su ruta de forma dinámica
00:02:22
recuperado de la acción de obtención de metadatos del archivo
00:02:24
especifique el destino
00:02:27
aquí hay una subcarpeta llamada powerpoint.
00:02:30
En la misma biblioteca,
00:02:31
también puede definir la acción predeterminada en el caso de un archivo
00:02:34
con el mismo nombre y establece un movimiento con un nombre nuevo.
00:02:38
Repita este procedimiento para cada tipo de extensión
00:02:41
XL X para Excel y doc X para Word, cambie el nombre de su
00:02:45
para mayor claridad, cambiando las etiquetas de cada caso,
00:02:48
añada la acción de mover el archivo en
00:02:50
de la misma manera indicando la carpeta de destino apropiada
00:02:53
para el caso predeterminado,
00:02:54
defina las acciones si la extensión del archivo no coincide
00:02:58
cualquiera de los casos previamente procesados utilizando, por ejemplo,
00:03:01
en la carpeta otros,
00:03:03
finalmente agrega la acción de publicación de mensajes de un equipo después del bloqueo condicional,
00:03:07
que se ejecutará independientemente del caso procesado
00:03:15
especifique que se ha agregado un archivo a una carpeta específica utilizando el contenido dinámico
00:03:27
guarda y prueba tu flujo.
00:03:30
Sube un archivo de los equipos, por ejemplo,
00:03:33
una presentación en PowerPoint y verifique que el
00:03:35
el archivo se ha movido correctamente al lugar correcto
00:03:40
y que el mensaje del equipo se ha publicado correctamente,
00:03:44
repite el proceso con un archivo PDF para asegurarte de que tu flujo funcione a la perfección. Para todos los casos.
00:03:52
Aquí tiene un ejemplo de uso de un interruptor en condiciones completamente funcionales.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
U hebt de mogelijkheid om een voorwaardelijke actie van het switchtype te maken
00:00:07
waarmee u reeksen acties kunt genereren op basis van specifieke gevallen.
00:00:11
Zo wordt het nesten van meerdere, zij het voorwaardelijke blokken, vermeden
00:00:16
om dit te illustreren.
00:00:17
Laten we het voorbeeld nemen van een bestand dat is opgeslagen in de teammap van een team
00:00:21
die, afhankelijk van de extensie, in verschillende mappen moet worden gesorteerd,
00:00:25
Word, Excel, PowerPoint, maar ook in andere mappen
00:00:30
begin met het configureren van deze geautomatiseerde flow met behulp van een SharePoint
00:00:34
trigger op basis van de aanmaak van een bestand.
00:00:42
Selecteer het doelteam en de relevante bibliotheek.
00:00:47
In dit specifieke geval
00:00:49
beperk de monitoring tot een specifieke map door aan te vinken
00:00:52
de optie beperken tot map in de geavanceerde instellingen.
00:00:55
Geef vervolgens de betreffende map op. In dit voorbeeld, bestandssortering
00:01:01
om de bestandsextensie te testen, voeg een functie toe
00:01:03
in power FX-taal die deze extensie isoleert.
00:01:07
Een andere tutorial behandelt de basisprincipes van power FX in meer detail.
00:01:11
Maar zoek hier naar de berichtactie in de vooraf gedefinieerde acties.
00:01:14
Vervolgens in de categorie gegevensbewerking
00:01:17
gebruik de FX-knop om de isolatiefunctie te plakken.
00:01:23
De volgende stap is het ophalen van de metagegevens van het bestand,
00:01:26
met name het toegangspad dat zal worden gebruikt bij het verplaatsen van het bestand.
00:01:32
Zodra het team van het team dat de bewaakte map bevat, is gespecificeerd
00:01:35
wijs naar het gedeponeerde bestand om de metagegevens op te halen.
00:01:38
Voeg hiervoor de dynamische inhoud toe,
00:01:40
het identificeren van het bestand met behulp van het identificatieveld dat aan het bestand is gekoppeld.
00:01:46
U kunt nu uw acties genereren op basis van het bestandstype door toe te voegen
00:01:50
een actie uit de besturingscategorie en het kiezen van de voorwaardelijke schakelactie.
00:01:54
Met de geïsoleerde bestandsextensie kunt u alle specifieke gevallen verwerken.
00:02:00
Test het te evalueren element,
00:02:01
dat is de uitvoer van uw bericht dat de bestandsextensie bevat.
00:02:05
Voeg vervolgens een specifieke case toe voor PowerPoint-bestanden, PTX
00:02:11
en een SharePoint-bestandsverplaatsingsactie
00:02:16
met vermelding van het adres van de site of het team,
00:02:19
verwijs dynamisch naar het bestand via het pad
00:02:22
opgehaald uit de actie metagegevens ophalen van bestanden
00:02:24
specificeer de bestemming
00:02:27
hier een submap met de naam powerpoint.
00:02:30
In dezelfde bibliotheek
00:02:31
u kunt ook de standaardactie definiëren in het geval van een bestand
00:02:34
met dezelfde naam en zet een zet met een nieuwe naam.
00:02:38
Herhaal deze procedure voor elk type extensie
00:02:41
XL X voor Excel en doc X voor Word hernoem je
00:02:45
hoesjes voor alle duidelijkheid door de labels voor elk hoesje te wijzigen,
00:02:48
voeg de verplaatsingsactie van het bestand toe in het
00:02:50
op dezelfde manier met vermelding van de juiste doelmap
00:02:53
voor het standaardgeval
00:02:54
definieer de acties als de bestandsextensie niet overeenkomt
00:02:58
elk van de eerder behandelde gevallen met bijvoorbeeld
00:03:01
in de map anderen,
00:03:03
voeg eindelijk de actie voor het plaatsen van berichten van een team toe na de voorwaardelijke blokkering,
00:03:07
die ongeacht de behandelde case wordt uitgevoerd
00:03:15
specificeer dat een bestand is toegevoegd aan een specifieke map met behulp van de dynamische inhoud
00:03:27
bewaar en test je flow.
00:03:30
Upload bijvoorbeeld een bestand van teams
00:03:33
een powerpoint-presentatie en controleer of de
00:03:35
bestand is correct naar de juiste plaats verplaatst
00:03:40
en dat het bericht van het team correct is gepost,
00:03:44
herhaal dit met een PDF-bestand om ervoor te zorgen dat je flow perfect werkt. Voor alle gevallen.
00:03:52
Daar heb je een voorbeeld van een volledig functioneel gebruik van de schakelaar.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
Masz możliwość utworzenia akcji warunkowej typu przełącznika
00:00:07
który pozwala generować sekwencje działań w oparciu o konkretne przypadki.
00:00:11
W ten sposób unikamy zagnieżdżania wielu bloków warunkowych
00:00:16
aby to zilustrować.
00:00:17
Weźmy przykład pliku zdeponowanego w folderze zespołu zespołu
00:00:21
które w zależności od rozszerzenia będą musiały być posortowane do różnych folderów,
00:00:25
Word Excel, PowerPoint, a także w folderze innych
00:00:30
zacznij od skonfigurowania tego automatycznego przepływu przy użyciu programu SharePoint
00:00:34
wyzwalacz oparty na utworzeniu pliku.
00:00:42
Wybierz zespół docelowy oraz odpowiednią bibliotekę.
00:00:47
W tym konkretnym przypadku,
00:00:49
ograniczyć monitorowanie do określonego folderu, sprawdzając
00:00:52
opcja Ogranicz do folderu w ustawieniach zaawansowanych.
00:00:55
Następnie określ dany folder. W tym przykładzie sortowanie plików
00:01:01
aby przetestować rozszerzenie pliku, dołącz funkcję
00:01:03
w języku power FX, który izoluje to rozszerzenie.
00:01:07
Kolejny samouczek obejmuje bardziej szczegółowo podstawy Power FX.
00:01:11
Ale tutaj poszukaj akcji wiadomości we wstępnie zdefiniowanych akcjach.
00:01:14
Następnie w kategorii operacji danych,
00:01:17
użyj przycisku FX, aby wkleić funkcję izolacji.
00:01:23
Następnym krokiem jest pobranie metadanych pliku,
00:01:26
w szczególności ścieżka dostępu, która będzie używana w procesie przenoszenia pliku.
00:01:32
Po określeniu zespołu zespołu zawierającego monitorowany folder
00:01:35
wskaż zdeponowany plik, aby pobrać metadane.
00:01:38
Aby to zrobić, dodaj zawartość dynamiczną,
00:01:40
identyfikację pliku za pomocą pola identyfikatora skojarzonego z plikiem.
00:01:46
Możesz teraz wygenerować swoje działania zgodnie z typem pliku, dodając
00:01:50
działanie z kategorii sterowania i wybranie akcji przełączania warunkowego.
00:01:54
To z wyodrębnionego rozszerzenia plików można przetwarzać wszystkie konkretne przypadki.
00:02:00
przetestować element, który ma być oceniany,
00:02:01
który jest wyjściem wiadomości zawierającej rozszerzenie pliku.
00:02:05
Następnie dodaj konkretny przypadek dla plików PowerPoint, PTX
00:02:11
i akcja przenoszenia pliku programu SharePoint
00:02:16
określenie adresu strony lub zespołu zespołu,
00:02:19
dynamicznie odwołuj się do pliku według jego ścieżki
00:02:22
pobrane z akcji pobierz metadane pliku
00:02:24
określ miejsce docelowe
00:02:27
tutaj podfolder o nazwie powerpoint.
00:02:30
W tej samej bibliotece,
00:02:31
można również zdefiniować domyślną akcję w przypadku pliku
00:02:34
o tej samej nazwie i ustaw ruch z nową nazwą.
00:02:38
Powtórz tę procedurę dla każdego typu rozszerzenia
00:02:41
XL X dla programu Excel i doc X dla słowa zmień nazwę
00:02:45
przypadki dla jasności poprzez zmianę etykiet dla każdego przypadku,
00:02:48
dodaj akcję przenoszenia pliku w
00:02:50
w ten sam sposób wskazując odpowiedni folder docelowy
00:02:53
w przypadku domyślnego przypadku,
00:02:54
zdefiniuj działania, jeśli rozszerzenie pliku nie pasuje
00:02:58
którejkolwiek z wcześniej rozpatrywanych spraw, używając na przykład,
00:03:01
w folderze innych,
00:03:03
na koniec dodaj akcję wysyłania wiadomości zespołu po bloku warunkowym,
00:03:07
który będzie wykonywany niezależnie od przetworzonej sprawy
00:03:15
określ, że plik został dodany do określonego folderu przy użyciu zawartości dynamicznej
00:03:27
Zapisz i przetestuj swój przepływ.
00:03:30
Prześlij plik z zespołów, na przykład
00:03:33
prezentację PowerPoint i sprawdź, czy
00:03:35
plik jest prawidłowo przeniesiony we właściwe miejsce
00:03:40
i że wiadomość zespołu jest poprawnie opublikowana,
00:03:44
powtórz z plikiem PDF, aby upewnić się, że przepływ działa idealnie. Dla wszystkich przypadków.
00:03:52
Tam masz przykład w pełni funkcjonalnego użycia warunku przełącznika.

No elements match your search in this video....
Do another search or back to content !

 

00:00:03
Lehetősége van egy kapcsoló típusú feltételes művelet létrehozására
00:00:07
amely lehetővé teszi a műveletek sorozatainak létrehozását konkrét esetek alapján.
00:00:11
Így elkerülhető a többszörös, ha feltételes blokk fészkelése
00:00:16
hogy ezt illusztráljuk.
00:00:17
Vegyük egy példát egy csapat csapatmappájába helyezett fájlra
00:00:21
amelyet kiterjesztésétől függően különböző mappákba kell rendezni,
00:00:25
Word Excel, powerpoint, valamint mások mappájában
00:00:30
kezdje az automatikus folyamat SharePoint használatával történő konfigurálásával
00:00:34
a fájl létrehozásán alapuló indító.
00:00:42
Válassza ki a célcsoportot és a megfelelő könyvtárat.
00:00:47
Ebben a konkrét esetben
00:00:49
korlátozza a monitorozást egy adott mappára ellenőrzéssel
00:00:52
a mappára korlátozás opciót a speciális beállításokban.
00:00:55
Ezután adja meg az érintett mappát. Ebben a példában a fájlrendezés
00:01:01
a fájlkiterjesztés teszteléséhez tartalmaz egy funkciót
00:01:03
Power FX nyelven, amely elkülöníti ezt a kiterjesztést.
00:01:07
Egy másik oktatóanyag részletesebben ismerteti a Power FX alapjait.
00:01:11
De itt keresse meg az üzenetműveletet az előre meghatározott műveletekben.
00:01:14
Ezután az adatműveleti kategóriában,
00:01:17
használja az FX gombot az elszigetelő funkció beillesztéséhez.
00:01:23
A következő lépés a fájl metaadatainak lekérése,
00:01:26
különösen a hozzáférési útvonal, amelyet a fájl áthelyezése során használnak.
00:01:32
Miután megadta a megfigyelt mappát tartalmazó csapat
00:01:35
mutasson a letétbe helyezett fájlra a metaadatok lekéréséhez.
00:01:38
Ehhez adja hozzá a dinamikus tartalmat,
00:01:40
a fájl azonosítása a fájlhoz társított azonosító mező segítségével.
00:01:46
Most hozzáadásával létrehozhatja műveleteit a fájltípus szerint
00:01:50
a vezérlőkategóriából származó művelet és a feltételes kapcsolási művelet kiválasztása.
00:01:54
Az elszigetelt fájlkiterjesztésből feldolgozhatja az összes konkrét esetet.
00:02:00
Vizsgálja meg az értékelendő elemet,
00:02:01
amely a fájlkiterjesztést tartalmazó üzenet kimenete.
00:02:05
Ezután adjon hozzá egy konkrét esetet a powerpoint fájlokhoz, PTX
00:02:11
és egy SharePoint-fájl áthelyezési művelet
00:02:16
a webhely vagy a csapat csapat címének megadása,
00:02:19
dinamikusan hivatkozzon a fájlra az elérési útja alapján
00:02:22
letöltve a fájl metaadatgyűjtési műveletéből
00:02:24
adja meg a rendeltetési helyet
00:02:27
itt egy powerpoint nevű almappa.
00:02:30
Ugyanabban a könyvtárban,
00:02:31
fájl esetén is megadhatja az alapértelmezett műveletet
00:02:34
ugyanazzal a névvel, és állítson be egy lépést egy új névvel.
00:02:38
Ismételje meg ezt az eljárást az egyes kiterjesztéstípusoknál
00:02:41
Az XL X Excelhez és a doc X a Word programhoz nevezze át
00:02:45
esetek az egyértelműség érdekében az egyes esetek címkéinek megváltoztatásával,
00:02:48
adja hozzá a fájláthelyezési műveletet a
00:02:50
azonos módon jelezve a megfelelő célmappát
00:02:53
az alapértelmezett esetre,
00:02:54
határozza meg a műveleteket, ha a fájlkiterjesztés nem egyezik
00:02:58
a korábban feldolgozott esetek bármelyikét, például
00:03:01
mások mappában,
00:03:03
végül adja hozzá a csapat üzenetküldési műveletét a feltételes blokk után,
00:03:07
amely a feldolgozott ügytől függetlenül végrehajtható
00:03:15
adja meg, hogy a dinamikus tartalom használatával egy fájl került hozzáadásra egy adott mappához
00:03:27
mentse el és tesztelje az áramlást.
00:03:30
Töltsön fel egy fájlt a csapatokból, például
00:03:33
PowerPoint prezentációt, és ellenőrizze, hogy
00:03:35
a fájl megfelelően helyezkedik el a megfelelő helyre
00:03:40
és hogy a csapat üzenete helyesen van közzétéve,
00:03:44
ismételje meg egy PDF-fájllal, hogy biztosítsa a folyamatok tökéletes működését. Minden esetben.
00:03:52
Itt van egy példa egy teljesen működőképes kapcsolóállapot használatára.

No elements match your search in this video....
Do another search or back to content !

 

Mandarine AI: CE QUI POURRAIT VOUS INTÉRESSER

Reminder

Show