Will Cooper
Will Cooper
May 26, 2023

Power Automate is a powerful workflow tool that is a vital part of the Microsoft 365 ecosystem. Many of our customers use Ultimate Forms Actions in combination with Power Automate Flows as a part of their solutions.

One thing you might wonder is this:

How can you trigger a Power Automate Flow based on a specific form update in SharePoint?

There are two methods that we will cover in this article.

The first method is to use an HTTP Request Flow along with a corresponding Call application or service action in Ultimate Forms.

The second method involves using the Get Changes for an Item Flow block in Power Automate to detect specific field changes when an item is modified.

If you use Power Automate, in your SharePoint solutions, you will want to learn how to use both methods.


Flow HTTP Request Method

In Ultimate Forms, there is a new option available when using the Call application or service action. To begin, start out your action as shown:

To do the next steps, you will create a new Flow using the When a HTTP request is received method in Power Automate. 

(Note that this type of Flow action requires a Per-user plan subscription from Microsoft for the user creating the Flow. You can find out more about Power Automate licensing here: https://powerautomate.microsoft.com/en-us/pricing/)

Here is example code in which two parameters will be passed to the Flow "License" and "Template" which are two text fields in our SharePoint list.

{
   "type": "object",
   "properties": {
       "License": {
           "type": "string"
       },
       "Template": {
           "type": "string"
       }
   }
}
 
You should build your own JSON code according to your own field names and field types.
Once the flow is triggered, you can use the passed values in the rest of your Flow as shown:

In Ultimate Forms, you are now ready to enter the configuration for your action. Select Power Automate for the Applicatoin type.

Now copy and past the HTTP Post URL to the action and enter parameters as shown:

Adjust the conditions according to trigger that you want to kick off the flow.

 


Get Changes for Item Method

The second method relies on conditions defined in your Flow and does not require a Power Automate Per User Plan license. 

In Power Automate, create a Flow using the "When an Item or File is Modified" trigger.

In the second flow block, add a Get changes for an item or a file flow block.

Use Trigger Window Start Token and Trigger Window End Token for the last two fields as shown.

 

Now you can check whether a specific update has occurred in the form. In the provided example a Yes / No field is checked to see if it has been updated using the "Has changed" option:

 

Note that you can define whatever conditions you want in your Flow. You could use an action in Ultimate Forms to trigger an update to a special field which you create just for this purpose.

For example, you could add a Yes / No column "ApprovalRequest" (as shown above) which is ready only in the form and set by a special button which you create in your form which sets the value to yes.

You can detect that change using the method defined above.

Note that it is recommend to make this Flow more efficient by using a Trigger Condition which restricts the Flow to run ONLY when a field has a specific value.

In this way, the Flow won't run every single time the list record is modified.

A more detailed explanation and walkhrough of this method is demonstrated in the below video on the SharePoint Smart YouTube Channel here:

 

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
ULTIMATEforms is a complete platform that enables everyone to easily create and maintain Microsoft SharePoint-based business solutions without a single line of code
Powerful Forms
State-of-the-art responsive forms, complete with tabs, permissions, dynamic rules, repeating sections, electronic signatures and advanced validation, powered by our AI-assisted form generator
Powerful Automation
Replace complex workflows with simple, but powerful actions to create and update data inside SharePoint and in a variety of integrated applications and databases
Powerful Reporting
Transform data into actionable insights with detailed exportable reports, sophisticated dashboards, color-coded calendars and dynamic charts
100’s of Templates
Build and replicate business solutions with ease, selecting from our vast free library and creating your own custom templates, all installed with a single click
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Ready to get started?
Hands-on training is the best way to get proficient. That's why we've created three unique training offerings which will help you master ULTIMATEFORMS. Our interactive sessions are delivered via web meetings and conducted within personal virtual workspaces.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
Microsoft partner logo
© 2005-2024 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA