cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YA
Level: Powered On

Tutorials to understand creation of flows better

Dear all,

 

I have recently started using workflows and as every beginner I am flooded with questions.

 

I am not seeking for an essay type of answer but, just to give you an idea, of the type of questions I have when creating a flow:

What is:

  • the Question Mark I keep seeing in the advance mode e.g. in a condition block? I thought it was some sort of an operant or and evaluation character as in python but it doesn't seem so and I cannot find any information.
  • the @ symbol. Same question as the ? symbol above.
  • what is the Item (and items), Body, Value (list of items) e.t.c.
  • when in advance mode I see something like this 
    @not(equals(items('Apply_to_each')?['a'], items('Apply_to_each')?['b']))
    what is the nomeclature for all the round and square brackets?
  • Am I right to say that all the formulas/code is in REST? And they have to be contained in a JSON schema?

Again, as I said I am not looking for an answer here (but if you are kind enough to answer some of these Qs it will be much appreciated) but more like links (and books) that will help me understand it better. 

 

P.S. I have been trying all day to create a formula within a "Compose" action that will take only the first three elements of an input array and I still cannot make it.

 

Many thanks in advance.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Tutorials to understand creation of flows better

Hi YA,

 

When working with Condition, in basic mode, the available conditions displayed on the condition card are “is equal to”, “contains”, etc.


While in advanced mode, we can use workflow definitions to configure the functions in different ways. For example, you can combine if function and equals function to return a specified value based on whether the expression resulted in true or false. This function if(equals(1, 1), 'yes', 'no') will return “yes”.


After you select a dynamic content from the previous step, in advanced mode, it will automatically generate the @ symbol and ?, the @ symbol is needed and you need to regard the “items('Apply_to_each')?['a']” as a whole.


When using the Compose action to get the first three elements of an input, please try to use the substring function, I assume it would work for you.


This documentation about workflow definition language would be a great help to you. Please check it at here for more details:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language


If you need more help, please feel free post back.


Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
YA
Level: Powered On

Re: Tutorials to understand creation of flows better

@v-yamao-msft

Many thanks for the lenghty post and the detailed answers, much appreciated.

 

The content of the link you posted I am afraid I cannot understand (I ahd a look at it in the past before I posted here) but many thanks anyway..

 

Highlighted
Community Support Team
Community Support Team

Re: Tutorials to understand creation of flows better

Hi YA,

 

If you are unfamiliar with workflow definition language, I assume that this blog would help understand how to use expression in your flow. Please take it for a reference:
https://flow.microsoft.com/en-us/blog/use-expressions-in-actions/

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 151 members 3,784 guests
Please welcome our newest community members: