Flow / Power Automate - Leverage Variables with Power FX in Power Automate Tutorial

Discover the power of leveraging variables with Power FX in Power Automate. Learn how to list channel files based on date constraints, transform monthly flows into weekly ones, and use Power FX functions for dynamic date manipulations. Explore the comprehensive tutorial for effective flow activation and message posting in your team channel. Unlock the potential of Power Automate for efficient workflow management!

  • 03:28
  • 200 views

Objectifs :

This tutorial aims to guide users through the process of utilizing Power FX functions to implement date constraints in a flow that lists files from a team's channel. By the end of this tutorial, users will be able to create a flow that only lists files created within the last seven days, transforming a monthly flow into a weekly one.


Chapitres :

  1. Introduction to Power FX Functions
    In this tutorial, we will explore Power FX functions that enable various types of calculations. Specifically, we will focus on how to apply a date constraint to a flow that lists files from a team's channel.
  2. Setting Up the Flow
    To begin, duplicate an existing flow that does not have the date constraint. This flow is from a previous tutorial. From the context menu, perform a 'Save As' and rename the copy explicitly. Once done, click on the pencil icon to edit this flow.
  3. Transforming the Flow Frequency
    This flow is currently set to run monthly. We will transform it into a weekly flow that runs every Monday at 10 a.m. In this flow, you will find a variable used to generate the list of channel files. To remain organized, change the label of the initialization block for this variable.
  4. Creating a Date Variable
    Next, add an action to generate a new variable to store the date seven days prior to the current date. Here, you will use a Power FX function via the FX button in the window. Power FX functions are categorized by themes, and it is common to search the web to determine if a function exists and to gather syntactic information.
  5. Using the Add Days Function
    In this instance, the 'Add Days' function allows you to add or subtract a number of days associated with a date. Select the function, enter the parentheses, and supply the arguments according to the expected syntax. Use the 'UTC Now' function, which dynamically refers to the current date. The second parameter, separated by a comma, will contain '-7', indicating the number of days to subtract, followed by the format parameter.
  6. Implementing Conditional Logic
    Now, in the loop processing each file from the channel, add a conditional 'If' action based on the file's creation date to populate your variable. This will list the files only if they were created on or after seven days ago, specifically the previous Monday. Retrieve the dynamic content related to the creation date by specifying 'greater than or equal to' your previously created date variable.
  7. Finalizing the Flow
    Drag the block populating the variable listing the files into the case where the condition is met. Additionally, add a second conditional block to avoid posting a team's message if no file has been added. Test your message block containing your list of files less than seven days old by specifying that it must not be empty to post the team's message, which you will drag into the condition.
  8. Testing and Activating the Flow
    On the team side, add two files from your desktop to the relevant team. All that remains is to save and test the flow. Power Automate will inform you that the flow is not active. In the list of your flows, activate it and run it in your team channel. You will see a post containing only the two newly created files. From now on, your flow is active and will post a message every Monday if needed.

FAQ :

What is Power FX and how is it used?

Power FX is a formula language used in Microsoft Power Platform for performing calculations and data manipulation. It is commonly used in flows to automate tasks and manage data effectively.

How do I create a flow that lists files from a team channel?

To create a flow that lists files from a team channel, you can duplicate an existing flow, add a date constraint to filter files created within the last seven days, and use conditional actions to manage the output.

What does the 'Add Days' function do?

The 'Add Days' function in Power FX allows you to add or subtract a specific number of days from a date. This is useful for setting date constraints in flows.

How can I test my flow after creating it?

After creating your flow, you can save and activate it. Then, run the flow in your team channel to see if it posts the expected messages based on the conditions set.

What should I do if my flow is not active?

If your flow is not active, you can activate it from the list of your flows in Power Automate. Once activated, it will run according to the schedule you have set.


Quelques cas d'usages :

Weekly File Reporting

In a corporate environment, a team can use this flow to automatically report newly created files in a channel every Monday. This ensures that team members are updated on recent contributions without manual checks.

Automated Document Management

A project manager can implement this flow to keep track of documents added to a project channel. By filtering files created in the last seven days, the manager can ensure that the team focuses on the most recent updates.

Compliance Tracking

In regulated industries, this flow can be used to monitor and report on files that meet specific criteria, such as creation dates. This helps ensure compliance with internal policies and external regulations.

Team Collaboration Enhancement

By automating file notifications, teams can enhance collaboration. This flow can be set to notify team members of new files, ensuring everyone is aware of the latest resources available.


Glossaire :

Power FX

A formula language used in Microsoft Power Platform to perform calculations and manipulate data.

Flow

An automated workflow that connects different applications and services to perform tasks without manual intervention.

Variable

A storage location identified by a name that can hold data which may change during the execution of a flow.

UTC Now

A Power FX function that returns the current date and time in Coordinated Universal Time (UTC).

Add Days Function

A Power FX function that allows you to add or subtract a specified number of days from a given date.

Conditional Action

An action in a flow that executes only if a specified condition is met.

Dynamic Content

Content that is generated at runtime based on the data available in the flow, such as file creation dates.

00:00:03
we will explore power FX functions that enable various types of calculations.
00:00:08
We will start with an existing flow that lists
00:00:11
the files of a team's channel in a message
00:00:14
adding a date constraint to it
00:00:16
specifically,
00:00:17
we will list the files from a channel only
00:00:19
if they were created within the last seven days
00:00:23
to begin, duplicate an existing flow that does not have this constraint.
00:00:28
This flow is from a previous tutorial
00:00:31
from the context menu. Perform a save as and rename the copy explicitly.
00:00:36
Once done, click on the pencil icon to edit this flow.
00:00:41
This flow is monthly and recurrent transform it
00:00:44
into a weekly flow every Monday at 10 a.m.
00:00:48
In this flow, you will find a variable used to generate the list of channel files
00:00:53
to remain organized,
00:00:54
change the label of the initialization block for this variable.
00:00:59
Next, add an action to generate a new variable
00:01:05
to store the date seven days prior to the current date.
00:01:08
Here, you will use a power FX function via the FX button
00:01:15
in the window. You will find power FX functions categorized by themes.
00:01:20
Note that there is no assistant here. Just a brief description.
00:01:24
It is common to have to search the web to
00:01:26
determine if a function exists and to gather syntactic information.
00:01:31
In this instance,
00:01:32
the add days function allows you to add or
00:01:35
subtract a number of days associated with a date.
00:01:39
Select the function enter the parentheses and supply the
00:01:42
arguments of this function according to the expected syntax.
00:01:45
Using the UTC. Now function which dynamically refers to the current date.
00:01:51
The second parameter separated by a comma will contain minus seven,
00:01:56
the number of days to subtract followed by the format parameter.
00:02:03
Now in the loop processing each file from the channel,
00:02:06
add a conditional if action based on
00:02:09
the files creation date to populate your variable
00:02:12
listing the files only if they are created on or after seven days ago.
00:02:17
That is
00:02:18
the previous Monday
00:02:21
retrieve the dynamic content related to the creation date by
00:02:24
specifying greater and equal to your previously created date.
00:02:28
Variable
00:02:30
then drag the block populating the variable,
00:02:32
listing the files into the case where the condition is met.
00:02:36
Take this opportunity to add a second conditional
00:02:39
block to avoid posting a team's message.
00:02:41
If no file has been added,
00:02:44
test your message block containing your list of files less than seven days
00:02:49
old by specifying that it must not be empty to post the team's message
00:02:54
which you will drag into the condition.
00:02:56
Also add an introductory sentence
00:03:00
on the team side, add two files from your desktop to the relevant team,
00:03:05
all that remains is to save and test the flow
00:03:09
power automate. Will inform you that the flow is not active
00:03:13
in the list of your flows, activate it and run it
00:03:16
in your team channel.
00:03:17
You will see a post containing only the two newly created files from now
00:03:22
on your flow is active and will post a message every Monday if needed.

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

 

00:00:02
Neste tutorial,
00:00:03
exploraremos funções de Power FX que permitem vários tipos de cálculos.
00:00:08
Começaremos com um fluxo existente que lista
00:00:11
os ficheiros do canal de uma equipa numa mensagem
00:00:14
adicionar uma restrição de data a ele
00:00:16
especificamente,
00:00:17
vamos listar os ficheiros de um canal apenas
00:00:19
se foram criados nos últimos sete dias
00:00:23
para começar, duplicar um fluxo existente que não tenha essa restrição.
00:00:28
Este fluxo é de um tutorial anterior
00:00:31
a partir do menu de contexto. Execute um save as e renomeie a cópia explicitamente.
00:00:36
Uma vez feito, clique no ícone de lápis para editar este fluxo.
00:00:41
Este fluxo é mensal e recorrente, transforma-o.
00:00:44
num fluxo semanal todas as segundas-feiras às 10h
00:00:48
Neste fluxo, encontrará uma variável utilizada para gerar a lista de ficheiros de canal
00:00:53
manter-se organizado,
00:00:54
alterar o rótulo do bloco de inicialização para esta variável.
00:00:59
Em seguida, adicione uma ação para gerar uma nova variável
00:01:05
para armazenar a data sete dias antes da data atual.
00:01:08
Aqui, usará uma função Power FX através do botão FX
00:01:15
na janela. Encontrará funções Power FX categorizadas por temas.
00:01:20
Note-se que não há assistente aqui. Apenas uma breve descrição.
00:01:24
É comum ter de pesquisar na web para
00:01:26
determinar se existe uma função e recolher informação sintática.
00:01:31
Neste caso,
00:01:32
a função adicionar dias permite adicionar ou
00:01:35
subtrair um número de dias associados a uma data.
00:01:39
Seleccione a função, introduza os parênteses e forneça o
00:01:42
argumentos desta função de acordo com a sintaxe esperada.
00:01:45
Utilização da UTC. Agora função que se refere dinamicamente à data atual.
00:01:51
O segundo parâmetro separado por uma vírgula conterá menos sete,
00:01:56
o número de dias a subtrair seguido do parâmetro de formato.
00:02:03
Agora, no ciclo a processar cada ficheiro do canal,
00:02:06
adicionar uma ação condicional se baseada em
00:02:09
a data de criação dos ficheiros para preencher a sua variável
00:02:12
listando os arquivos apenas se eles forem criados em ou após sete dias atrás.
00:02:17
Isto é
00:02:18
na segunda-feira anterior
00:02:21
recuperar o conteúdo dinâmico relacionado com a data de criação por
00:02:24
especificando maior e igual à data de criação anterior.
00:02:28
Variável
00:02:30
em seguida, arraste o bloco que preenche a variável,
00:02:32
enumerar os ficheiros no caso em que a condição está preenchida.
00:02:36
Aproveite esta oportunidade para adicionar um segundo condicional
00:02:39
bloquear para evitar a publicação da mensagem de uma equipa.
00:02:41
Se nenhum ficheiro tiver sido adicionado,
00:02:44
testar o seu bloco de mensagens contendo a sua lista de ficheiros em menos de sete dias
00:02:49
antigo especificando que não deve estar vazio para postar a mensagem da equipa
00:02:54
que arrastará para a condição.
00:02:56
Acrescentar ainda uma frase introdutória
00:03:00
no lado da equipa, adicione dois ficheiros do seu ambiente de trabalho à equipa relevante,
00:03:05
tudo o que resta é salvar e testar o fluxo
00:03:09
poder automatizar. Irá informá-lo que o fluxo não está ativo
00:03:13
na lista dos seus fluxos, activa-o e execute-o
00:03:16
no seu canal de equipa.
00:03:17
Irá ver uma publicação contendo apenas os dois ficheiros recém-criados a partir de agora
00:03:22
no seu fluxo está ativo e irá postar uma mensagem todas as segundas-feiras, se necessário.

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

 

00:00:02
In questo tutorial,
00:00:03
esploreremo le funzioni power FX che consentono vari tipi di calcoli.
00:00:08
Inizieremo con un flusso esistente che elenca
00:00:11
i file del canale di un team in un messaggio
00:00:14
aggiungendovi un vincolo di data
00:00:16
in particolare,
00:00:17
elencheremo i file di un solo canale
00:00:19
se sono stati creati negli ultimi sette giorni
00:00:23
per iniziare, duplica un flusso esistente che non presenta questo vincolo.
00:00:28
Questo flusso è tratto da un tutorial precedente
00:00:31
dal menu contestuale. Esegui un salvataggio con nome e rinomina la copia in modo esplicito.
00:00:36
Una volta fatto, fai clic sull'icona a forma di matita per modificare questo flusso.
00:00:41
Questo flusso è mensile e ricorrente, trasformalo.
00:00:44
in un flusso settimanale ogni lunedì alle 10
00:00:48
In questo flusso, troverai una variabile utilizzata per generare l'elenco dei file dei canali
00:00:53
per rimanere organizzati,
00:00:54
cambia l'etichetta del blocco di inizializzazione per questa variabile.
00:00:59
Quindi, aggiungi un'azione per generare una nuova variabile
00:01:05
per memorizzare la data sette giorni prima della data corrente.
00:01:08
Qui, utilizzerai una funzione power FX tramite il pulsante FX
00:01:15
nella finestra. Troverai le funzioni di power FX classificate per temi.
00:01:20
Nota che non c'è nessun assistente qui. Solo una breve descrizione.
00:01:24
È normale dover effettuare una ricerca sul Web per
00:01:26
determinare se esiste una funzione e raccogliere informazioni sintattiche.
00:01:31
In questo caso,
00:01:32
la funzione aggiungi giorni consente di aggiungere o
00:01:35
sottrai un numero di giorni associato a una data.
00:01:39
Seleziona la funzione, inserisci le parentesi e fornisci il
00:01:42
argomenti di questa funzione secondo la sintassi prevista.
00:01:45
Usando l'UTC. Ora funzione che si riferisce dinamicamente alla data corrente.
00:01:51
Il secondo parametro separato da una virgola conterrà meno sette,
00:01:56
il numero di giorni da sottrarre seguito dal parametro format.
00:02:03
Ora, nel ciclo di elaborazione di ogni file dal canale,
00:02:06
aggiungi un'azione condizionale se basata su
00:02:09
la data di creazione del file in cui compilare la variabile
00:02:12
elencando i file solo se sono stati creati sette giorni fa o dopo.
00:02:17
Questo è
00:02:18
il lunedì precedente
00:02:21
recupera il contenuto dinamico relativo alla data di creazione entro
00:02:24
specificando una data maggiore e uguale alla data di creazione precedente.
00:02:28
Variabile
00:02:30
quindi trascina il blocco che popola la variabile,
00:02:32
elencando i file nel caso in cui la condizione è soddisfatta.
00:02:36
Cogli l'occasione per aggiungere un secondo condizionale
00:02:39
blocca per evitare di pubblicare il messaggio di un team.
00:02:41
Se non è stato aggiunto alcun file,
00:02:44
prova il blocco di messaggi contenente l'elenco dei file per meno di sette giorni
00:02:49
vecchio specificando che non deve essere vuoto per pubblicare il messaggio del team
00:02:54
che trascinerai nella condizione.
00:02:56
Aggiungete anche una frase introduttiva
00:03:00
per quanto riguarda il team, aggiungi due file dal desktop al team pertinente,
00:03:05
non resta che salvare e testare il flusso
00:03:09
automatizzare il potere. Ti informerà che il flusso non è attivo
00:03:13
nell'elenco dei tuoi flussi, attivalo ed eseguilo
00:03:16
nel canale del tuo team.
00:03:17
D'ora in poi vedrai un post contenente solo i due file appena creati
00:03:22
on your flow è attivo e pubblicherà un messaggio ogni lunedì, se necessario.

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

 

00:00:02
В этом уроке
00:00:03
мы рассмотрим функции Power FX, которые позволяют выполнять различные типы вычислений.
00:00:08
Мы начнем с существующего потока, в котором перечислены
00:00:11
файлы канала команды в сообщении
00:00:14
добавление к нему ограничения по дате
00:00:16
в частности,
00:00:17
мы перечислим файлы только из канала
00:00:19
если они были созданы в течение последних семи дней
00:00:23
для начала продублируйте существующий поток, не имеющий этого ограничения.
00:00:28
Этот процесс взят из предыдущего руководства
00:00:31
из контекстного меню. Выполните сохранение как и явно переименуйте копию.
00:00:36
После этого нажмите на значок карандаша, чтобы отредактировать этот процесс.
00:00:41
Этот поток является ежемесячным и повторяется, преобразуйте его
00:00:44
в еженедельный поток каждый понедельник в 10 часов утра.
00:00:48
В этом потоке вы найдете переменную, используемую для создания списка файлов каналов
00:00:53
чтобы оставаться организованным,
00:00:54
измените метку блока инициализации этой переменной.
00:00:59
Затем добавьте действие для создания новой переменной
00:01:05
чтобы сохранить дату за семь дней до текущей даты.
00:01:08
Здесь вы будете использовать функцию Power FX с помощью кнопки FX
00:01:15
в окне. Вы найдете функции Power FX, сгруппированные по темам.
00:01:20
Обратите внимание, что здесь нет помощника. Просто краткое описание.
00:01:24
Обычно приходится искать в Интернете, чтобы
00:01:26
определить, существует ли функция, и собрать синтаксическую информацию.
00:01:31
В этом случае
00:01:32
функция добавления дней позволяет добавлять или
00:01:35
вычесть количество дней, связанных с датой.
00:01:39
Выберите функцию, введите круглые скобки и введите
00:01:42
аргументы этой функции в соответствии с ожидаемым синтаксисом.
00:01:45
Использование UTC. Теперь функция, которая динамически ссылается на текущую дату.
00:01:51
Второй параметр, разделенный запятой, будет содержать минус семь,
00:01:56
количество дней для вычитания, за которым следует параметр формата.
00:02:03
Теперь в цикле обрабатывается каждый файл из канала,
00:02:06
добавьте условное действие if, основанное на
00:02:09
дата создания файла для заполнения переменной
00:02:12
список файлов только в том случае, если они были созданы семь дней назад или позже.
00:02:17
То есть
00:02:18
в предыдущий понедельник
00:02:21
извлеките динамический контент, связанный с датой создания, по
00:02:24
указав дату, большую и равную вашей ранее созданной дате.
00:02:28
Переменная
00:02:30
затем перетащите блок, заполняющий переменную,
00:02:32
список файлов в том случае, если условие выполнено.
00:02:36
Воспользуйтесь этой возможностью, чтобы добавить второе условие
00:02:39
заблокируйте, чтобы не публиковать сообщение команды.
00:02:41
Если ни один файл не был добавлен,
00:02:44
проверьте свой блок сообщений со списком файлов менее семи дней
00:02:49
old, указав, что сообщение команды не должно быть пустым
00:02:54
которое вы перетащите в условие.
00:02:56
Также добавьте вводное предложение
00:03:00
на стороне рабочей группы добавьте два файла со своего рабочего стола в соответствующую команду,
00:03:05
осталось только сохранить и протестировать поток
00:03:09
автоматизация электропитания. Сообщит вам, что поток неактивен
00:03:13
в списке ваших потоков активируйте его и запустите
00:03:16
в канале вашей команды.
00:03:17
Теперь вы увидите сообщение, содержащее только два недавно созданных файла
00:03:22
В вашей ленте активна и при необходимости вы будете публиковать сообщение каждый понедельник.

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

 

00:00:02
En este tutorial,
00:00:03
exploraremos las funciones de Power FX que permiten varios tipos de cálculos.
00:00:08
Empezaremos con un flujo existente que enumera
00:00:11
los archivos del canal de un equipo en un mensaje
00:00:14
agregarle una restricción de fecha
00:00:16
específicamente,
00:00:17
listaremos los archivos de un canal únicamente
00:00:19
si se crearon en los últimos siete días
00:00:23
para empezar, duplique un flujo existente que no tenga esta restricción.
00:00:28
Este flujo proviene de un tutorial anterior
00:00:31
desde el menú contextual. Guarde como y cambie el nombre de la copia de forma explícita.
00:00:36
Una vez hecho esto, haz clic en el icono del lápiz para editar este flujo.
00:00:41
Este flujo es mensual y recurrente, transfórmalo
00:00:44
en un flujo semanal todos los lunes a las 10 a.m.
00:00:48
En este flujo, encontrará una variable que se utiliza para generar la lista de archivos de canales
00:00:53
para mantenerse organizado,
00:00:54
cambie la etiqueta del bloque de inicialización para esta variable.
00:00:59
A continuación, añada una acción para generar una nueva variable
00:01:05
para almacenar la fecha siete días antes de la fecha actual.
00:01:08
Aquí, utilizarás la función Power FX a través del botón FX
00:01:15
en la ventana. Encontrarás las funciones de Power FX clasificadas por temas.
00:01:20
Tenga en cuenta que aquí no hay ningún asistente. Solo una breve descripción.
00:01:24
Es común tener que buscar en la web para
00:01:26
determinar si existe una función y recopilar información sintáctica.
00:01:31
En este caso,
00:01:32
la función de agregar días le permite agregar o
00:01:35
restar un número de días asociado a una fecha.
00:01:39
Seleccione la función, introduzca los paréntesis e introduzca el
00:01:42
los argumentos de esta función según la sintaxis esperada.
00:01:45
Uso de la UTC. Ahora es una función que hace referencia dinámicamente a la fecha actual.
00:01:51
El segundo parámetro separado por una coma contendrá menos siete,
00:01:56
el número de días a restar seguido del parámetro de formato.
00:02:03
Ahora, en el bucle procesando cada archivo del canal,
00:02:06
añada una acción if condicional basada en
00:02:09
la fecha de creación del archivo para rellenar la variable
00:02:12
enumerar los archivos solo si se crearon hace siete días o después.
00:02:17
Eso es
00:02:18
el lunes anterior
00:02:21
recupere el contenido dinámico relacionado con la fecha de creación antes
00:02:24
especificando una fecha mayor o igual a la fecha de creación anterior.
00:02:28
Variable
00:02:30
luego arrastra el bloque que llena la variable,
00:02:32
enumerar los archivos en el caso en que se cumpla la condición.
00:02:36
Aproveche esta oportunidad para agregar un segundo condicional
00:02:39
bloquea para evitar publicar el mensaje de un equipo.
00:02:41
Si no se ha agregado ningún archivo,
00:02:44
prueba el bloque de mensajes que contiene tu lista de archivos en menos de siete días
00:02:49
antiguo especificando que no debe estar vacío para publicar el mensaje del equipo
00:02:54
que arrastrarás a la condición.
00:02:56
Añádase también una frase introductoria
00:03:00
por parte del equipo, añade dos archivos desde tu escritorio al equipo correspondiente,
00:03:05
todo lo que queda es guardar y probar el flujo
00:03:09
automatización de energía. Le informará de que el flujo no está activo
00:03:13
en la lista de sus flujos, actívelo y ejecútelo
00:03:16
en el canal de tu equipo.
00:03:17
Verás una publicación que contiene solo los dos archivos recién creados a partir de ahora
00:03:22
on your flow está activo y publicará un mensaje todos los lunes si es necesario.

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

 

00:00:02
In deze tutorial
00:00:03
we zullen power FX-functies onderzoeken die verschillende soorten berekeningen mogelijk maken.
00:00:08
We beginnen met een bestaande flow die een lijst bevat
00:00:11
de bestanden van het kanaal van een team in een bericht
00:00:14
er een datumbeperking aan toevoegen
00:00:16
in het bijzonder,
00:00:17
we zullen alleen de bestanden van een kanaal weergeven
00:00:19
als ze in de afgelopen zeven dagen zijn gemaakt
00:00:23
dupliceer om te beginnen een bestaande flow die deze beperking niet heeft.
00:00:28
Deze flow komt uit een eerdere tutorial
00:00:31
vanuit het contextmenu. Sla de kopie op als en hernoem de kopie expliciet.
00:00:36
Als u klaar bent, klikt u op het potloodpictogram om deze flow te bewerken.
00:00:41
Deze stroom is maandelijks en terugkerend, transformeer deze.
00:00:44
in een wekelijkse flow, elke maandag om 10.00 uur.
00:00:48
In deze flow vind je een variabele die wordt gebruikt om de lijst met kanaalbestanden te genereren
00:00:53
om georganiseerd te blijven,
00:00:54
wijzig het label van het initialisatieblok voor deze variabele.
00:00:59
Voeg vervolgens een actie toe om een nieuwe variabele te genereren
00:01:05
om de datum zeven dagen vóór de huidige datum op te slaan.
00:01:08
Hier gebruik je een power FX-functie via de FX-knop
00:01:15
in het raam. U vindt power FX-functies gecategoriseerd per thema.
00:01:20
Merk op dat er hier geen assistent is. Gewoon een korte beschrijving.
00:01:24
Het is normaal dat u op internet moet zoeken naar
00:01:26
bepalen of een functie bestaat en om syntactische informatie te verzamelen.
00:01:31
In dit geval
00:01:32
met de functie dagen toevoegen kunt u toevoegen of
00:01:35
trek een aantal dagen af dat aan een datum is gekoppeld.
00:01:39
Selecteer de functie, voer de haakjes in en voer de
00:01:42
argumenten van deze functie volgens de verwachte syntaxis.
00:01:45
Met behulp van de UTC. Nu functie die dynamisch verwijst naar de huidige datum.
00:01:51
De tweede parameter, gescheiden door een komma, bevat min zeven,
00:01:56
het aantal dagen dat moet worden afgetrokken, gevolgd door de formaatparameter.
00:02:03
Nu bezig met het verwerken van elk bestand van het kanaal,
00:02:06
voeg een voorwaardelijke if-actie toe op basis van
00:02:09
de aanmaakdatum van de bestanden om uw variabele in te vullen
00:02:12
de bestanden alleen weergeven als ze zeven dagen geleden of later zijn aangemaakt.
00:02:17
Dat is
00:02:18
de vorige maandag
00:02:21
de dynamische inhoud met betrekking tot de aanmaakdatum ophalen met
00:02:24
door groter en gelijk aan de eerder gemaakte datum op te geven.
00:02:28
Variabele
00:02:30
sleep vervolgens het blok dat de variabele vult,
00:02:32
het opsommen van de dossiers in de zaak waarin aan de voorwaarde is voldaan.
00:02:36
Maak van deze gelegenheid gebruik om een tweede voorwaarde toe te voegen
00:02:39
blokkeren om te voorkomen dat een teambericht wordt geplaatst.
00:02:41
Als er geen bestand is toegevoegd,
00:02:44
test uw berichtenblok met uw lijst met bestanden in minder dan zeven dagen
00:02:49
oud door aan te geven dat het niet leeg mag zijn om het bericht van het team te plaatsen
00:02:54
die je naar de conditie sleept.
00:02:56
Voeg ook een inleidende zin toe
00:03:00
aan de kant van het team, voeg twee bestanden vanaf je desktop toe aan het relevante team,
00:03:05
het enige dat overblijft is het opslaan en testen van de flow
00:03:09
vermogen automatiseren. Zal je laten weten dat de flow niet actief is
00:03:13
activeer het in de lijst van je flows en voer het uit
00:03:16
in je teamkanaal.
00:03:17
Je zult een bericht zien dat vanaf nu alleen de twee nieuw aangemaakte bestanden bevat
00:03:22
on your flow is actief en zal indien nodig elke maandag een bericht plaatsen.

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

 

00:00:02
W tym samouczku,
00:00:03
zbadamy funkcje Power FX, które umożliwiają różnego rodzaju obliczenia.
00:00:08
Zaczniemy od istniejącego przepływu, który zawiera listę
00:00:11
pliki kanału zespołu w wiadomości
00:00:14
dodanie do niego wiązania daty
00:00:16
konkretnie,
00:00:17
wyszczególnimy pliki tylko z kanału
00:00:19
jeśli zostały stworzone w ciągu ostatnich siedmiu dni
00:00:23
aby rozpocząć, powiel istniejący przepływ, który nie ma tego ograniczenia.
00:00:28
Ten przepływ pochodzi z poprzedniego samouczka
00:00:31
z menu kontekstowego. Wykonaj zapisanie jako i zmień nazwę kopii jawnie.
00:00:36
Po zakończeniu kliknij ikonę ołówka, aby edytować ten przepływ.
00:00:41
Przepływ ten jest miesięczny i powtarzający się go przekształca
00:00:44
do tygodniowego przepływu w każdy poniedziałek o 10 rano.
00:00:48
W tym przepływie znajdziesz zmienną używaną do generowania listy plików kanałów
00:00:53
pozostać zorganizowanym,
00:00:54
zmień etykietę bloku inicjalizacji dla tej zmiennej.
00:00:59
Następnie dodaj akcję, aby wygenerować nową zmienną
00:01:05
przechowywać datę siedem dni przed bieżącą datą.
00:01:08
Tutaj użyjesz funkcji power FX za pomocą przycisku FX
00:01:15
w oknie. Znajdziesz funkcje Power FX skategoryzowane według motywów.
00:01:20
Zauważ, że nie ma tutaj asystenta. Tylko krótki opis.
00:01:24
Często trzeba przeszukiwać sieć
00:01:26
określić, czy funkcja istnieje i zebrać informacje składniowe.
00:01:31
W tym przypadku,
00:01:32
funkcja dodawania dni umożliwia dodanie lub
00:01:35
odejmij liczbę dni powiązanych z datą.
00:01:39
Wybierz funkcję wprowadź nawiasy i podaj
00:01:42
argumenty tej funkcji zgodnie z oczekiwaną składnią.
00:01:45
Korzystanie z UTC. Teraz funkcja, która dynamicznie odnosi się do bieżącej daty.
00:01:51
Drugi parametr oddzielony przecinkiem będzie zawierał minus siedem,
00:01:56
liczba dni do odjęcia, po której następuje parametr format.
00:02:03
Teraz w pętli przetwarzającej każdy plik z kanału,
00:02:06
dodaj warunkową akcję if na podstawie
00:02:09
datę utworzenia plików do wypełnienia zmiennej
00:02:12
wymienianie plików tylko wtedy, gdy zostały utworzone siedem dni temu lub później.
00:02:17
To jest
00:02:18
poprzedni poniedziałek
00:02:21
pobierz dynamiczną zawartość związaną z datą utworzenia według
00:02:24
określenie większej i równej poprzednio utworzonej dacie.
00:02:28
Zmienna
00:02:30
następnie przeciągnij blok wypełniający zmienną,
00:02:32
wymienianie plików w przypadku, w którym warunek jest spełniony.
00:02:36
Skorzystaj z okazji, aby dodać drugi warunek
00:02:39
zablokuj, aby uniknąć publikowania wiadomości zespołu.
00:02:41
Jeśli nie został dodany żaden plik,
00:02:44
przetestuj blok wiadomości zawierający listę plików krótszy niż siedem dni
00:02:49
stare, określając, że nie może być pusta, aby opublikować wiadomość zespołu
00:02:54
które przeciągniesz do stanu.
00:02:56
Dodaj także zdanie wprowadzające
00:03:00
po stronie zespołu dodaj dwa pliki z pulpitu do odpowiedniego zespołu,
00:03:05
pozostaje tylko zapisać i przetestować przepływ
00:03:09
automatyzacja zasilania. Poinformuje Cię, że przepływ nie jest aktywny
00:03:13
na liście przepływów aktywuj go i uruchom
00:03:16
w Twoim kanale zespołowym.
00:03:17
Zobaczysz post zawierający tylko dwa nowo utworzone pliki
00:03:22
Twój przepływ jest aktywny i w razie potrzeby opublikuje wiadomość w każdy poniedziałek.

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

 

00:00:02
Ebben az oktatóanyagban
00:00:03
feltárjuk a Power FX funkciókat, amelyek különböző típusú számításokat tesznek lehetővé.
00:00:08
Kezdjük egy meglévő folyamattal, amely felsorolja
00:00:11
a csapat csatornájának fájljai egy üzenetben
00:00:14
dátumkényszer hozzáadása hozzá
00:00:16
konkrétan,
00:00:17
csak egy csatorna fájlokat soroljuk fel
00:00:19
Ha az elmúlt hét napon belül jöttek létre
00:00:23
a kezdéshez ismételje meg egy meglévő áramlást, amely nem rendelkezik ezzel a kényszerrel.
00:00:28
Ez az áramlás egy korábbi oktatóanyagból származik
00:00:31
a helyi menüből. Végezze el a mentést másként, és nevezze át kifejezetten a másolatot.
00:00:36
Miután elkészült, kattintson a ceruza ikonra a folyamat szerkesztéséhez.
00:00:41
Ez az áramlás havonta történik, és visszatérő átalakítja
00:00:44
heti áramlásba minden hétfőn reggel 10 órakor.
00:00:48
Ebben a folyamatban talál egy változót, amely a csatornafájlok listájának létrehozására szolgál
00:00:53
szervezett maradni,
00:00:54
módosítsa a változó inicializációs blokk címkéjét.
00:00:59
Ezután adjon hozzá egy műveletet egy új változó létrehozásához
00:01:05
a dátum tárolása hét nappal az aktuális dátum előtt.
00:01:08
Itt egy power FX funkciót fog használni az FX gombon keresztül
00:01:15
az ablakban. A Power FX funkciókat témák szerint kategorizálva talál.
00:01:20
Ne feledje, hogy itt nincs asszisztens. Csak egy rövid leírás.
00:01:24
Gyakori, hogy az interneten kell keresni
00:01:26
meghatározza, hogy létezik-e függvény, és összegyűjtse a szintaktikai információkat.
00:01:31
Ebben az esetben
00:01:32
a napok hozzáadása funkció lehetővé teszi a hozzáadást vagy
00:01:35
vonjon le egy dátumhoz kapcsolódó napok számát.
00:01:39
Válassza ki a függvényt, írja be a zárójeleket, és adja meg a
00:01:42
ennek a függvénynek az argumentumokat a várt szintaxisnak megfelelően.
00:01:45
Az UTC használata. Most funkció, amely dinamikusan utal az aktuális dátumra.
00:01:51
A vesszővel elválasztott második paraméter mínusz hetet tartalmaz,
00:01:56
a kivonandó napok száma, amelyet a formátumparaméter követ.
00:02:03
Most az egyes fájlokat feldolgozó hurokban a csatornán,
00:02:06
feltételes, ha művelet hozzáadása az alapon
00:02:09
a változó kitöltéséhez szükséges fájlok létrehozásának dátuma
00:02:12
csak akkor sorolja fel a fájlokat, ha azokat hét nappal ezelőtt vagy utána hozták létre.
00:02:17
Ez az
00:02:18
előző hétfőn
00:02:21
a létrehozás dátumához kapcsolódó dinamikus tartalom lekérése
00:02:24
a korábban létrehozott dátummal nagyobb és egyenlő megadása.
00:02:28
Változó
00:02:30
majd húzza a változót betöltő blokkot,
00:02:32
felsorolja az aktákat abban az ügyben, ahol a feltétel teljesül.
00:02:36
Használja ki ezt a lehetőséget, és adjon hozzá egy második feltételes
00:02:39
blokkolja, hogy elkerülje a csapat üzenetének közzétételét.
00:02:41
Ha nem adtak hozzá fájlt,
00:02:44
tesztelje a fájlok listáját tartalmazó üzenetblokk hét napnál rövidebb időn belül
00:02:49
régi azzal, hogy megadja, hogy a csapat üzenetének közzétételéhez nem szabad üresnek lennie
00:02:54
amit az állapotba húzol.
00:02:56
Adjon hozzá egy bevezető mondatot is
00:03:00
a csapat oldalon adjon hozzá két fájlt az asztalról az érintett csapathoz,
00:03:05
csak az áramlás megmentése és tesztelése marad
00:03:09
energiaautomatizálás. Tájékoztatja Önt arról, hogy az áramlás nem aktív
00:03:13
a folyamatok listájában aktiválja és futtassa
00:03:16
a csapat csatornáján.
00:03:17
Mostantól csak a két újonnan létrehozott fájlt tartalmazó bejegyzést fog látni
00:03:22
a folyamatod aktív, és szükség esetén minden hétfőn üzenetet tesz közzé.

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