Flow Editor Issues and Recommendations

Applies to: Power Automate

Some tokens from previous steps missing in Token Picker

  • Some users have complained that they do not see all the tokens from previous steps while attempting to add dynamic content to a parameter.
  • This behavior is expected since Flow's Token Picker filters the tokens based on the data type of the parameter. The token picker for a string parameter only see a filtered list of tokens that are strings.

Using Attachments with Manual Triggers

  • Users attempting to use files with manual triggers can add an input of type file and add the file content in the value. The file can then be imported while triggering the run.

  • Subsequent steps can use the file and filename as a token in their paramaters. The file name can be extracted using the expression triggerBody()['file'] ['name'] in token picker. 

Adding an action between two cards

  • The '+' button to add a new action between two action cards is not visible until the user hovers over the edge between the two actions.
  • The '+' button will not be visible if a recommendation card to 'Add an action' is open anywhere in the Flow.

Adding Dynamic Links within an HTML Editor

  • A few Actions like Send an Email(O365) and Post a Message(Teams) allow Flow authors to use a generic HTML Editor while crafting the message. Some customers would like to add a dynamic link to these messages. 
  • Click on the "</>" option in the respective paramater of the action. This will enable the HTML Editor. The customer can then use an html tag along the lines of "<a href = "{Link Token from previous step}">File</a>.
  • After a flow run, the link will now be visible at the corresponding client.

No document Id or document number while using BusinessCentral Connector

  • Consider a scenario where user authors a flow that is supposed to create a Purchase Invoice in one step and then create the lines for the Purchase Invoice in the next step.
  • The Document ID or Document Number field is not present by default in the Action definition for the Document Central actions. As a result of not setting the document Id, the user experiences a failure at runtime as document ID isn't being populated. 
  • As a workaround, the flow needs to be exported and the definition json needs to be modified to insert the documentID under the inputs body of the action. The modified defintion will then need to be imported back into Flow.

Where's my Sharepoint site?

  • If you don't see your Sharepoint site in the dropdown, it is likely because you have not visited the site recently. The list only shows a some of your most recently used sites. You must select 'Enter a custom value' from the dropdown and type in the site you are looking for manually.