Hi Team
Is there an example, if you want to customized a buttons(Request to Action, Submit for Approval, Submit-Rejected)? So that later on i can call these actions on my work flow on power automate?
Hi Team
Is there an example, if you want to customized a buttons(Request to Action, Submit for Approval, Submit-Rejected)? So that later on i can call these actions on my work flow on power automate?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Mar 14, 2024, 7:53 PM
Triggering the Actions in Power Automate Cloud Flows:
Tuhin PaulPosted Mar 14, 2024, 7:52 PM
Method 1: Using Cloud Buttons
Create a Cloud Button Flow:
Create Buttons in Power Automate Desktop:
Method 2: Using Adaptive Cards (More Advanced)
Create an Adaptive Card Template:
Use the Adaptive Card in Power Automate Desktop:
Guest UserPosted Mar 14, 2024, 10:38 AM
Hi Tata
I am sorry was not clear enough, was talking directly from microsoft sharepoint. I see they got options to use like JSON to customize it and saw some examples on github as well for this.
Mithilesh TataPosted Mar 14, 2024, 9:36 AM
If you want to create customized buttons with specific actions like "Request to Action," "Submit for Approval," and "Submit-Rejected" in your application, you can achieve this using React Native. Here's a simplified example demonstrating how you can create such buttons and trigger corresponding actions:
In this example:
CustomButtoncomponent that acceptstitleandonPressprops. This component renders aTouchableOpacitywith the provided title and triggers the correspondingonPressfunction when pressed.Appcomponent where we define the actions (handleRequestToAction,handleSubmitForApproval,handleSubmitRejected) that should be triggered when the respective buttons are pressed.You can integrate this code into your React Native application and customize it further based on your requirements. Later on, you can call these actions in your Power Automate workflow by integrating with your application's backend or APIs.